#5B5E7C Color

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

Color preview

#5B5E7C

Color formats

HEX
#5B5E7C
RGB
rgb(91, 94, 124)
RGBA
rgba(91, 94, 124, 1)
HSL
hsl(235, 15%, 42%)
HSV
hsv(235, 27%, 49%)
CMYK
cmyk(27%, 24%, 0%, 51%)
CSS variable
--color-primary: #5B5E7C;
Lowercase HEX
#5b5e7c

Shades

Tints

Tones

Harmony

CSS snippets for #5B5E7C

.color-5b5e7c {
  color: #5B5E7C;
  background-color: #5B5E7C;
}

Frequently asked questions

What color is #5B5E7C?+

#5B5E7C is a HEX color with RGB value rgb(91, 94, 124) and HSL value hsl(235, 15%, 42%). Its closest CSS named color is DimGray.

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

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