#5A797D Color

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

Color preview

#5A797D

Color formats

HEX
#5A797D
RGB
rgb(90, 121, 125)
RGBA
rgba(90, 121, 125, 1)
HSL
hsl(187, 16%, 42%)
HSV
hsv(187, 28%, 49%)
CMYK
cmyk(28%, 3%, 0%, 51%)
CSS variable
--color-primary: #5A797D;
Lowercase HEX
#5a797d

Shades

Tints

Tones

Harmony

CSS snippets for #5A797D

.color-5a797d {
  color: #5A797D;
  background-color: #5A797D;
}

Frequently asked questions

What color is #5A797D?+

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

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

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