#312E51 Color

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

Color preview

#312E51

Color formats

HEX
#312E51
RGB
rgb(49, 46, 81)
RGBA
rgba(49, 46, 81, 1)
HSL
hsl(245, 28%, 25%)
HSV
hsv(245, 43%, 32%)
CMYK
cmyk(40%, 43%, 0%, 68%)
CSS variable
--color-primary: #312E51;
Lowercase HEX
#312e51

Shades

Tints

Tones

Harmony

CSS snippets for #312E51

.color-312e51 {
  color: #312E51;
  background-color: #312E51;
}

Frequently asked questions

What color is #312E51?+

#312E51 is a HEX color with RGB value rgb(49, 46, 81) and HSL value hsl(245, 28%, 25%). Its closest CSS named color is DarkSlateGray.

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

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