#312B40 Color

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

Color preview

#312B40

Color formats

HEX
#312B40
RGB
rgb(49, 43, 64)
RGBA
rgba(49, 43, 64, 1)
HSL
hsl(257, 20%, 21%)
HSV
hsv(257, 33%, 25%)
CMYK
cmyk(23%, 33%, 0%, 75%)
CSS variable
--color-primary: #312B40;
Lowercase HEX
#312b40

Shades

Tints

Tones

Harmony

CSS snippets for #312B40

.color-312b40 {
  color: #312B40;
  background-color: #312B40;
}

Frequently asked questions

What color is #312B40?+

#312B40 is a HEX color with RGB value rgb(49, 43, 64) and HSL value hsl(257, 20%, 21%). Its closest CSS named color is DarkSlateGray.

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

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