#31366D Color

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

Color preview

#31366D

Color formats

HEX
#31366D
RGB
rgb(49, 54, 109)
RGBA
rgba(49, 54, 109, 1)
HSL
hsl(235, 38%, 31%)
HSV
hsv(235, 55%, 43%)
CMYK
cmyk(55%, 50%, 0%, 57%)
CSS variable
--color-primary: #31366D;
Lowercase HEX
#31366d

Shades

Tints

Tones

Harmony

CSS snippets for #31366D

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

Frequently asked questions

What color is #31366D?+

#31366D is a HEX color with RGB value rgb(49, 54, 109) and HSL value hsl(235, 38%, 31%). Its closest CSS named color is MidnightBlue.

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

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