#5A5C8B Color

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

Color preview

#5A5C8B

Color formats

HEX
#5A5C8B
RGB
rgb(90, 92, 139)
RGBA
rgba(90, 92, 139, 1)
HSL
hsl(238, 21%, 45%)
HSV
hsv(238, 35%, 55%)
CMYK
cmyk(35%, 34%, 0%, 45%)
CSS variable
--color-primary: #5A5C8B;
Lowercase HEX
#5a5c8b

Shades

Tints

Tones

Harmony

CSS snippets for #5A5C8B

.color-5a5c8b {
  color: #5A5C8B;
  background-color: #5A5C8B;
}

Frequently asked questions

What color is #5A5C8B?+

#5A5C8B is a HEX color with RGB value rgb(90, 92, 139) and HSL value hsl(238, 21%, 45%). Its closest CSS named color is DarkSlateBlue.

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

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