#5B5478 Color

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

Color preview

#5B5478

Color formats

HEX
#5B5478
RGB
rgb(91, 84, 120)
RGBA
rgba(91, 84, 120, 1)
HSL
hsl(252, 18%, 40%)
HSV
hsv(252, 30%, 47%)
CMYK
cmyk(24%, 30%, 0%, 53%)
CSS variable
--color-primary: #5B5478;
Lowercase HEX
#5b5478

Shades

Tints

Tones

Harmony

CSS snippets for #5B5478

.color-5b5478 {
  color: #5B5478;
  background-color: #5B5478;
}

Frequently asked questions

What color is #5B5478?+

#5B5478 is a HEX color with RGB value rgb(91, 84, 120) and HSL value hsl(252, 18%, 40%). Its closest CSS named color is DimGray.

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

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