#313A5B Color

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

Color preview

#313A5B

Color formats

HEX
#313A5B
RGB
rgb(49, 58, 91)
RGBA
rgba(49, 58, 91, 1)
HSL
hsl(227, 30%, 27%)
HSV
hsv(227, 46%, 36%)
CMYK
cmyk(46%, 36%, 0%, 64%)
CSS variable
--color-primary: #313A5B;
Lowercase HEX
#313a5b

Shades

Tints

Tones

Harmony

CSS snippets for #313A5B

.color-313a5b {
  color: #313A5B;
  background-color: #313A5B;
}

Frequently asked questions

What color is #313A5B?+

#313A5B is a HEX color with RGB value rgb(49, 58, 91) and HSL value hsl(227, 30%, 27%). Its closest CSS named color is DarkSlateGray.

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

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