#31405E Color

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

Color preview

#31405E

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #31405E

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

Frequently asked questions

What color is #31405E?+

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

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

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