#313A5E Color

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

Color preview

#313A5E

Color formats

HEX
#313A5E
RGB
rgb(49, 58, 94)
RGBA
rgba(49, 58, 94, 1)
HSL
hsl(228, 31%, 28%)
HSV
hsv(228, 48%, 37%)
CMYK
cmyk(48%, 38%, 0%, 63%)
CSS variable
--color-primary: #313A5E;
Lowercase HEX
#313a5e

Shades

Tints

Tones

Harmony

CSS snippets for #313A5E

.color-313a5e {
  color: #313A5E;
  background-color: #313A5E;
}

Frequently asked questions

What color is #313A5E?+

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

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

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