#312C6D Color

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

Color preview

#312C6D

Color formats

HEX
#312C6D
RGB
rgb(49, 44, 109)
RGBA
rgba(49, 44, 109, 1)
HSL
hsl(245, 42%, 30%)
HSV
hsv(245, 60%, 43%)
CMYK
cmyk(55%, 60%, 0%, 57%)
CSS variable
--color-primary: #312C6D;
Lowercase HEX
#312c6d

Shades

Tints

Tones

Harmony

CSS snippets for #312C6D

.color-312c6d {
  color: #312C6D;
  background-color: #312C6D;
}

Frequently asked questions

What color is #312C6D?+

#312C6D is a HEX color with RGB value rgb(49, 44, 109) and HSL value hsl(245, 42%, 30%). Its closest CSS named color is MidnightBlue.

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

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