#505D7C Color

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

Color preview

#505D7C

Color formats

HEX
#505D7C
RGB
rgb(80, 93, 124)
RGBA
rgba(80, 93, 124, 1)
HSL
hsl(222, 22%, 40%)
HSV
hsv(222, 35%, 49%)
CMYK
cmyk(35%, 25%, 0%, 51%)
CSS variable
--color-primary: #505D7C;
Lowercase HEX
#505d7c

Shades

Tints

Tones

Harmony

CSS snippets for #505D7C

.color-505d7c {
  color: #505D7C;
  background-color: #505D7C;
}

Frequently asked questions

What color is #505D7C?+

#505D7C is a HEX color with RGB value rgb(80, 93, 124) and HSL value hsl(222, 22%, 40%). Its closest CSS named color is DimGray.

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

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