#5C508B Color

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

Color preview

#5C508B

Color formats

HEX
#5C508B
RGB
rgb(92, 80, 139)
RGBA
rgba(92, 80, 139, 1)
HSL
hsl(252, 27%, 43%)
HSV
hsv(252, 42%, 55%)
CMYK
cmyk(34%, 42%, 0%, 45%)
CSS variable
--color-primary: #5C508B;
Lowercase HEX
#5c508b

Shades

Tints

Tones

Harmony

CSS snippets for #5C508B

.color-5c508b {
  color: #5C508B;
  background-color: #5C508B;
}

Frequently asked questions

What color is #5C508B?+

#5C508B is a HEX color with RGB value rgb(92, 80, 139) and HSL value hsl(252, 27%, 43%). Its closest CSS named color is DarkSlateBlue.

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

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