#5A628B Color

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

Color preview

#5A628B

Color formats

HEX
#5A628B
RGB
rgb(90, 98, 139)
RGBA
rgba(90, 98, 139, 1)
HSL
hsl(230, 21%, 45%)
HSV
hsv(230, 35%, 55%)
CMYK
cmyk(35%, 29%, 0%, 45%)
CSS variable
--color-primary: #5A628B;
Lowercase HEX
#5a628b

Shades

Tints

Tones

Harmony

CSS snippets for #5A628B

.color-5a628b {
  color: #5A628B;
  background-color: #5A628B;
}

Frequently asked questions

What color is #5A628B?+

#5A628B is a HEX color with RGB value rgb(90, 98, 139) and HSL value hsl(230, 21%, 45%). Its closest CSS named color is SlateGray.

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

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