#5A798C Color

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

Color preview

#5A798C

Color formats

HEX
#5A798C
RGB
rgb(90, 121, 140)
RGBA
rgba(90, 121, 140, 1)
HSL
hsl(203, 22%, 45%)
HSV
hsv(203, 36%, 55%)
CMYK
cmyk(36%, 14%, 0%, 45%)
CSS variable
--color-primary: #5A798C;
Lowercase HEX
#5a798c

Shades

Tints

Tones

Harmony

CSS snippets for #5A798C

.color-5a798c {
  color: #5A798C;
  background-color: #5A798C;
}

Frequently asked questions

What color is #5A798C?+

#5A798C is a HEX color with RGB value rgb(90, 121, 140) and HSL value hsl(203, 22%, 45%). Its closest CSS named color is SlateGray.

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

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