#5B5A7D Color

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

Color preview

#5B5A7D

Color formats

HEX
#5B5A7D
RGB
rgb(91, 90, 125)
RGBA
rgba(91, 90, 125, 1)
HSL
hsl(242, 16%, 42%)
HSV
hsv(242, 28%, 49%)
CMYK
cmyk(27%, 28%, 0%, 51%)
CSS variable
--color-primary: #5B5A7D;
Lowercase HEX
#5b5a7d

Shades

Tints

Tones

Harmony

CSS snippets for #5B5A7D

.color-5b5a7d {
  color: #5B5A7D;
  background-color: #5B5A7D;
}

Frequently asked questions

What color is #5B5A7D?+

#5B5A7D is a HEX color with RGB value rgb(91, 90, 125) and HSL value hsl(242, 16%, 42%). Its closest CSS named color is DimGray.

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

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