#31377D Color

Inspect #31377D across formats, palettes, contrast and closest named color matches.

Color preview

#31377D

Color formats

HEX
#31377D
RGB
rgb(49, 55, 125)
RGBA
rgba(49, 55, 125, 1)
HSL
hsl(235, 44%, 34%)
HSV
hsv(235, 61%, 49%)
CMYK
cmyk(61%, 56%, 0%, 51%)
CSS variable
--color-primary: #31377D;
Lowercase HEX
#31377d

Shades

Tints

Tones

Harmony

CSS snippets for #31377D

.color-31377d {
  color: #31377D;
  background-color: #31377D;
}

Frequently asked questions

What color is #31377D?+

#31377D is a HEX color with RGB value rgb(49, 55, 125) and HSL value hsl(235, 44%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #31377D?+

The closest Tailwind color is indigo-900, available as the bg-indigo-900 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