#5A5D8B Color

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

Color preview

#5A5D8B

Color formats

HEX
#5A5D8B
RGB
rgb(90, 93, 139)
RGBA
rgba(90, 93, 139, 1)
HSL
hsl(236, 21%, 45%)
HSV
hsv(236, 35%, 55%)
CMYK
cmyk(35%, 33%, 0%, 45%)
CSS variable
--color-primary: #5A5D8B;
Lowercase HEX
#5a5d8b

Shades

Tints

Tones

Harmony

CSS snippets for #5A5D8B

.color-5a5d8b {
  color: #5A5D8B;
  background-color: #5A5D8B;
}

Frequently asked questions

What color is #5A5D8B?+

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

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

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