#312C40 Color

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

Color preview

#312C40

Color formats

HEX
#312C40
RGB
rgb(49, 44, 64)
RGBA
rgba(49, 44, 64, 1)
HSL
hsl(255, 19%, 21%)
HSV
hsv(255, 31%, 25%)
CMYK
cmyk(23%, 31%, 0%, 75%)
CSS variable
--color-primary: #312C40;
Lowercase HEX
#312c40

Shades

Tints

Tones

Harmony

CSS snippets for #312C40

.color-312c40 {
  color: #312C40;
  background-color: #312C40;
}

Frequently asked questions

What color is #312C40?+

#312C40 is a HEX color with RGB value rgb(49, 44, 64) and HSL value hsl(255, 19%, 21%). Its closest CSS named color is DarkSlateGray.

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

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