#313F9B Color

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

Color preview

#313F9B

Color formats

HEX
#313F9B
RGB
rgb(49, 63, 155)
RGBA
rgba(49, 63, 155, 1)
HSL
hsl(232, 52%, 40%)
HSV
hsv(232, 68%, 61%)
CMYK
cmyk(68%, 59%, 0%, 39%)
CSS variable
--color-primary: #313F9B;
Lowercase HEX
#313f9b

Shades

Tints

Tones

Harmony

CSS snippets for #313F9B

.color-313f9b {
  color: #313F9B;
  background-color: #313F9B;
}

Frequently asked questions

What color is #313F9B?+

#313F9B is a HEX color with RGB value rgb(49, 63, 155) and HSL value hsl(232, 52%, 40%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #313F9B?+

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