#51798A Color

Inspect #51798A across formats, palettes, contrast and closest named color matches.

Color preview

#51798A

Color formats

HEX
#51798A
RGB
rgb(81, 121, 138)
RGBA
rgba(81, 121, 138, 1)
HSL
hsl(198, 26%, 43%)
HSV
hsv(198, 41%, 54%)
CMYK
cmyk(41%, 12%, 0%, 46%)
CSS variable
--color-primary: #51798A;
Lowercase HEX
#51798a

Shades

Tints

Tones

Harmony

CSS snippets for #51798A

.color-51798a {
  color: #51798A;
  background-color: #51798A;
}

Frequently asked questions

What color is #51798A?+

#51798A is a HEX color with RGB value rgb(81, 121, 138) and HSL value hsl(198, 26%, 43%). Its closest CSS named color is SlateGray.

What is the closest Tailwind color to #51798A?+

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