#312E9E Color

Inspect #312E9E across formats, palettes, contrast and closest named color matches.

Color preview

#312E9E

Color formats

HEX
#312E9E
RGB
rgb(49, 46, 158)
RGBA
rgba(49, 46, 158, 1)
HSL
hsl(242, 55%, 40%)
HSV
hsv(242, 71%, 62%)
CMYK
cmyk(69%, 71%, 0%, 38%)
CSS variable
--color-primary: #312E9E;
Lowercase HEX
#312e9e

Shades

Tints

Tones

Harmony

CSS snippets for #312E9E

.color-312e9e {
  color: #312E9E;
  background-color: #312E9E;
}

Frequently asked questions

What color is #312E9E?+

#312E9E is a HEX color with RGB value rgb(49, 46, 158) and HSL value hsl(242, 55%, 40%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #312E9E?+

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