#313C9B Color

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

Color preview

#313C9B

Color formats

HEX
#313C9B
RGB
rgb(49, 60, 155)
RGBA
rgba(49, 60, 155, 1)
HSL
hsl(234, 52%, 40%)
HSV
hsv(234, 68%, 61%)
CMYK
cmyk(68%, 61%, 0%, 39%)
CSS variable
--color-primary: #313C9B;
Lowercase HEX
#313c9b

Shades

Tints

Tones

Harmony

CSS snippets for #313C9B

.color-313c9b {
  color: #313C9B;
  background-color: #313C9B;
}

Frequently asked questions

What color is #313C9B?+

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

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

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