#1E1240 Color

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

Color preview

#1E1240

Color formats

HEX
#1E1240
RGB
rgb(30, 18, 64)
RGBA
rgba(30, 18, 64, 1)
HSL
hsl(256, 56%, 16%)
HSV
hsv(256, 72%, 25%)
CMYK
cmyk(53%, 72%, 0%, 75%)
CSS variable
--color-primary: #1E1240;
Lowercase HEX
#1e1240

Shades

Tints

Tones

Harmony

CSS snippets for #1E1240

.color-1e1240 {
  color: #1E1240;
  background-color: #1E1240;
}

Frequently asked questions

What color is #1E1240?+

#1E1240 is a HEX color with RGB value rgb(30, 18, 64) and HSL value hsl(256, 56%, 16%). Its closest CSS named color is MidnightBlue.

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

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