#31395E Color

Inspect #31395E across formats, palettes, contrast and closest named color matches.

Color preview

#31395E

Color formats

HEX
#31395E
RGB
rgb(49, 57, 94)
RGBA
rgba(49, 57, 94, 1)
HSL
hsl(229, 31%, 28%)
HSV
hsv(229, 48%, 37%)
CMYK
cmyk(48%, 39%, 0%, 63%)
CSS variable
--color-primary: #31395E;
Lowercase HEX
#31395e

Shades

Tints

Tones

Harmony

CSS snippets for #31395E

.color-31395e {
  color: #31395E;
  background-color: #31395E;
}

Frequently asked questions

What color is #31395E?+

#31395E is a HEX color with RGB value rgb(49, 57, 94) and HSL value hsl(229, 31%, 28%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #31395E?+

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