#505B8B Color

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

Color preview

#505B8B

Color formats

HEX
#505B8B
RGB
rgb(80, 91, 139)
RGBA
rgba(80, 91, 139, 1)
HSL
hsl(229, 27%, 43%)
HSV
hsv(229, 42%, 55%)
CMYK
cmyk(42%, 35%, 0%, 45%)
CSS variable
--color-primary: #505B8B;
Lowercase HEX
#505b8b

Shades

Tints

Tones

Harmony

CSS snippets for #505B8B

.color-505b8b {
  color: #505B8B;
  background-color: #505B8B;
}

Frequently asked questions

What color is #505B8B?+

#505B8B is a HEX color with RGB value rgb(80, 91, 139) and HSL value hsl(229, 27%, 43%). Its closest CSS named color is DarkSlateBlue.

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

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