#5A787C Color

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

Color preview

#5A787C

Color formats

HEX
#5A787C
RGB
rgb(90, 120, 124)
RGBA
rgba(90, 120, 124, 1)
HSL
hsl(187, 16%, 42%)
HSV
hsv(187, 27%, 49%)
CMYK
cmyk(27%, 3%, 0%, 51%)
CSS variable
--color-primary: #5A787C;
Lowercase HEX
#5a787c

Shades

Tints

Tones

Harmony

CSS snippets for #5A787C

.color-5a787c {
  color: #5A787C;
  background-color: #5A787C;
}

Frequently asked questions

What color is #5A787C?+

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

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

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