#505A6F Color

Inspect #505A6F across formats, palettes, contrast and closest named color matches.

Color preview

#505A6F

Color formats

HEX
#505A6F
RGB
rgb(80, 90, 111)
RGBA
rgba(80, 90, 111, 1)
HSL
hsl(221, 16%, 37%)
HSV
hsv(221, 28%, 44%)
CMYK
cmyk(28%, 19%, 0%, 56%)
CSS variable
--color-primary: #505A6F;
Lowercase HEX
#505a6f

Shades

Tints

Tones

Harmony

CSS snippets for #505A6F

.color-505a6f {
  color: #505A6F;
  background-color: #505A6F;
}

Frequently asked questions

What color is #505A6F?+

#505A6F is a HEX color with RGB value rgb(80, 90, 111) and HSL value hsl(221, 16%, 37%). Its closest CSS named color is DimGray.

What is the closest Tailwind color to #505A6F?+

The closest Tailwind color is slate-600, available as the bg-slate-600 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