#2E248A Color

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

Color preview

#2E248A

Color formats

HEX
#2E248A
RGB
rgb(46, 36, 138)
RGBA
rgba(46, 36, 138, 1)
HSL
hsl(246, 59%, 34%)
HSV
hsv(246, 74%, 54%)
CMYK
cmyk(67%, 74%, 0%, 46%)
CSS variable
--color-primary: #2E248A;
Lowercase HEX
#2e248a

Shades

Tints

Tones

Harmony

CSS snippets for #2E248A

.color-2e248a {
  color: #2E248A;
  background-color: #2E248A;
}

Frequently asked questions

What color is #2E248A?+

#2E248A is a HEX color with RGB value rgb(46, 36, 138) and HSL value hsl(246, 59%, 34%). Its closest CSS named color is MidnightBlue.

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

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