#313B5E Color

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

Color preview

#313B5E

Color formats

HEX
#313B5E
RGB
rgb(49, 59, 94)
RGBA
rgba(49, 59, 94, 1)
HSL
hsl(227, 31%, 28%)
HSV
hsv(227, 48%, 37%)
CMYK
cmyk(48%, 37%, 0%, 63%)
CSS variable
--color-primary: #313B5E;
Lowercase HEX
#313b5e

Shades

Tints

Tones

Harmony

CSS snippets for #313B5E

.color-313b5e {
  color: #313B5E;
  background-color: #313B5E;
}

Frequently asked questions

What color is #313B5E?+

#313B5E is a HEX color with RGB value rgb(49, 59, 94) and HSL value hsl(227, 31%, 28%). Its closest CSS named color is DarkSlateGray.

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

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