#312D5D Color

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

Color preview

#312D5D

Color formats

HEX
#312D5D
RGB
rgb(49, 45, 93)
RGBA
rgba(49, 45, 93, 1)
HSL
hsl(245, 35%, 27%)
HSV
hsv(245, 52%, 36%)
CMYK
cmyk(47%, 52%, 0%, 64%)
CSS variable
--color-primary: #312D5D;
Lowercase HEX
#312d5d

Shades

Tints

Tones

Harmony

CSS snippets for #312D5D

.color-312d5d {
  color: #312D5D;
  background-color: #312D5D;
}

Frequently asked questions

What color is #312D5D?+

#312D5D is a HEX color with RGB value rgb(49, 45, 93) and HSL value hsl(245, 35%, 27%). Its closest CSS named color is MidnightBlue.

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

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