#312D6C Color

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

Color preview

#312D6C

Color formats

HEX
#312D6C
RGB
rgb(49, 45, 108)
RGBA
rgba(49, 45, 108, 1)
HSL
hsl(244, 41%, 30%)
HSV
hsv(244, 58%, 42%)
CMYK
cmyk(55%, 58%, 0%, 58%)
CSS variable
--color-primary: #312D6C;
Lowercase HEX
#312d6c

Shades

Tints

Tones

Harmony

CSS snippets for #312D6C

.color-312d6c {
  color: #312D6C;
  background-color: #312D6C;
}

Frequently asked questions

What color is #312D6C?+

#312D6C is a HEX color with RGB value rgb(49, 45, 108) and HSL value hsl(244, 41%, 30%). Its closest CSS named color is MidnightBlue.

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

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