#313197 Color

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

Color preview

#313197

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #313197

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

Frequently asked questions

What color is #313197?+

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

What is the closest Tailwind color to #313197?+

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