#5A5C96 Color

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

Color preview

#5A5C96

Color formats

HEX
#5A5C96
RGB
rgb(90, 92, 150)
RGBA
rgba(90, 92, 150, 1)
HSL
hsl(238, 25%, 47%)
HSV
hsv(238, 40%, 59%)
CMYK
cmyk(40%, 39%, 0%, 41%)
CSS variable
--color-primary: #5A5C96;
Lowercase HEX
#5a5c96

Shades

Tints

Tones

Harmony

CSS snippets for #5A5C96

.color-5a5c96 {
  color: #5A5C96;
  background-color: #5A5C96;
}

Frequently asked questions

What color is #5A5C96?+

#5A5C96 is a HEX color with RGB value rgb(90, 92, 150) and HSL value hsl(238, 25%, 47%). Its closest CSS named color is DarkSlateBlue.

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

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