#312C5D Color

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

Color preview

#312C5D

Color formats

HEX
#312C5D
RGB
rgb(49, 44, 93)
RGBA
rgba(49, 44, 93, 1)
HSL
hsl(246, 36%, 27%)
HSV
hsv(246, 53%, 36%)
CMYK
cmyk(47%, 53%, 0%, 64%)
CSS variable
--color-primary: #312C5D;
Lowercase HEX
#312c5d

Shades

Tints

Tones

Harmony

CSS snippets for #312C5D

.color-312c5d {
  color: #312C5D;
  background-color: #312C5D;
}

Frequently asked questions

What color is #312C5D?+

#312C5D is a HEX color with RGB value rgb(49, 44, 93) and HSL value hsl(246, 36%, 27%). Its closest CSS named color is MidnightBlue.

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

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