#2D238B Color

Inspect #2D238B across formats, palettes, contrast and closest named color matches.

Color preview

#2D238B

Color formats

HEX
#2D238B
RGB
rgb(45, 35, 139)
RGBA
rgba(45, 35, 139, 1)
HSL
hsl(246, 60%, 34%)
HSV
hsv(246, 75%, 55%)
CMYK
cmyk(68%, 75%, 0%, 45%)
CSS variable
--color-primary: #2D238B;
Lowercase HEX
#2d238b

Shades

Tints

Tones

Harmony

CSS snippets for #2D238B

.color-2d238b {
  color: #2D238B;
  background-color: #2D238B;
}

Frequently asked questions

What color is #2D238B?+

#2D238B is a HEX color with RGB value rgb(45, 35, 139) and HSL value hsl(246, 60%, 34%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #2D238B?+

The closest Tailwind color is indigo-900, available as the bg-indigo-900 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools