#31314E Color

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

Color preview

#31314E

Color formats

HEX
#31314E
RGB
rgb(49, 49, 78)
RGBA
rgba(49, 49, 78, 1)
HSL
hsl(240, 23%, 25%)
HSV
hsv(240, 37%, 31%)
CMYK
cmyk(37%, 37%, 0%, 69%)
CSS variable
--color-primary: #31314E;
Lowercase HEX
#31314e

Shades

Tints

Tones

Harmony

CSS snippets for #31314E

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

Frequently asked questions

What color is #31314E?+

#31314E is a HEX color with RGB value rgb(49, 49, 78) and HSL value hsl(240, 23%, 25%). Its closest CSS named color is DarkSlateGray.

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

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