#5F5B8A Color

Inspect #5F5B8A across formats, palettes, contrast and closest named color matches.

Color preview

#5F5B8A

Color formats

HEX
#5F5B8A
RGB
rgb(95, 91, 138)
RGBA
rgba(95, 91, 138, 1)
HSL
hsl(245, 21%, 45%)
HSV
hsv(245, 34%, 54%)
CMYK
cmyk(31%, 34%, 0%, 46%)
CSS variable
--color-primary: #5F5B8A;
Lowercase HEX
#5f5b8a

Shades

Tints

Tones

Harmony

CSS snippets for #5F5B8A

.color-5f5b8a {
  color: #5F5B8A;
  background-color: #5F5B8A;
}

Frequently asked questions

What color is #5F5B8A?+

#5F5B8A is a HEX color with RGB value rgb(95, 91, 138) and HSL value hsl(245, 21%, 45%). Its closest CSS named color is DimGray.

What is the closest Tailwind color to #5F5B8A?+

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