#313A8C Color

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

Color preview

#313A8C

Color formats

HEX
#313A8C
RGB
rgb(49, 58, 140)
RGBA
rgba(49, 58, 140, 1)
HSL
hsl(234, 48%, 37%)
HSV
hsv(234, 65%, 55%)
CMYK
cmyk(65%, 59%, 0%, 45%)
CSS variable
--color-primary: #313A8C;
Lowercase HEX
#313a8c

Shades

Tints

Tones

Harmony

CSS snippets for #313A8C

.color-313a8c {
  color: #313A8C;
  background-color: #313A8C;
}

Frequently asked questions

What color is #313A8C?+

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

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

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