#313F8C Color

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

Color preview

#313F8C

Color formats

HEX
#313F8C
RGB
rgb(49, 63, 140)
RGBA
rgba(49, 63, 140, 1)
HSL
hsl(231, 48%, 37%)
HSV
hsv(231, 65%, 55%)
CMYK
cmyk(65%, 55%, 0%, 45%)
CSS variable
--color-primary: #313F8C;
Lowercase HEX
#313f8c

Shades

Tints

Tones

Harmony

CSS snippets for #313F8C

.color-313f8c {
  color: #313F8C;
  background-color: #313F8C;
}

Frequently asked questions

What color is #313F8C?+

#313F8C is a HEX color with RGB value rgb(49, 63, 140) and HSL value hsl(231, 48%, 37%). Its closest CSS named color is DarkSlateBlue.

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

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