#1E1F4D Color

Inspect #1E1F4D across formats, palettes, contrast and closest named color matches.

Color preview

#1E1F4D

Color formats

HEX
#1E1F4D
RGB
rgb(30, 31, 77)
RGBA
rgba(30, 31, 77, 1)
HSL
hsl(239, 44%, 21%)
HSV
hsv(239, 61%, 30%)
CMYK
cmyk(61%, 60%, 0%, 70%)
CSS variable
--color-primary: #1E1F4D;
Lowercase HEX
#1e1f4d

Shades

Tints

Tones

Harmony

CSS snippets for #1E1F4D

.color-1e1f4d {
  color: #1E1F4D;
  background-color: #1E1F4D;
}

Frequently asked questions

What color is #1E1F4D?+

#1E1F4D is a HEX color with RGB value rgb(30, 31, 77) and HSL value hsl(239, 44%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #1E1F4D?+

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