#313997 Color

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

Color preview

#313997

Color formats

HEX
#313997
RGB
rgb(49, 57, 151)
RGBA
rgba(49, 57, 151, 1)
HSL
hsl(235, 51%, 39%)
HSV
hsv(235, 68%, 59%)
CMYK
cmyk(68%, 62%, 0%, 41%)
CSS variable
--color-primary: #313997;
Lowercase HEX
#313997

Shades

Tints

Tones

Harmony

CSS snippets for #313997

.color-313997 {
  color: #313997;
  background-color: #313997;
}

Frequently asked questions

What color is #313997?+

#313997 is a HEX color with RGB value rgb(49, 57, 151) and HSL value hsl(235, 51%, 39%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #313997?+

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