#2E1E4D Color

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

Color preview

#2E1E4D

Color formats

HEX
#2E1E4D
RGB
rgb(46, 30, 77)
RGBA
rgba(46, 30, 77, 1)
HSL
hsl(260, 44%, 21%)
HSV
hsv(260, 61%, 30%)
CMYK
cmyk(40%, 61%, 0%, 70%)
CSS variable
--color-primary: #2E1E4D;
Lowercase HEX
#2e1e4d

Shades

Tints

Tones

Harmony

CSS snippets for #2E1E4D

.color-2e1e4d {
  color: #2E1E4D;
  background-color: #2E1E4D;
}

Frequently asked questions

What color is #2E1E4D?+

#2E1E4D is a HEX color with RGB value rgb(46, 30, 77) and HSL value hsl(260, 44%, 21%). Its closest CSS named color is MidnightBlue.

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

The closest Tailwind color is indigo-950, available as the bg-indigo-950 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