#5A5D7D Color

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

Color preview

#5A5D7D

Color formats

HEX
#5A5D7D
RGB
rgb(90, 93, 125)
RGBA
rgba(90, 93, 125, 1)
HSL
hsl(235, 16%, 42%)
HSV
hsv(235, 28%, 49%)
CMYK
cmyk(28%, 26%, 0%, 51%)
CSS variable
--color-primary: #5A5D7D;
Lowercase HEX
#5a5d7d

Shades

Tints

Tones

Harmony

CSS snippets for #5A5D7D

.color-5a5d7d {
  color: #5A5D7D;
  background-color: #5A5D7D;
}

Frequently asked questions

What color is #5A5D7D?+

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

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

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