#5840E3 Color

Inspect #5840E3 across formats, palettes, contrast and closest named color matches.

Color preview

#5840E3

Color formats

HEX
#5840E3
RGB
rgb(88, 64, 227)
RGBA
rgba(88, 64, 227, 1)
HSL
hsl(249, 74%, 57%)
HSV
hsv(249, 72%, 89%)
CMYK
cmyk(61%, 72%, 0%, 11%)
CSS variable
--color-primary: #5840E3;
Lowercase HEX
#5840e3

Shades

Tints

Tones

Harmony

CSS snippets for #5840E3

.color-5840e3 {
  color: #5840E3;
  background-color: #5840E3;
}

Frequently asked questions

What color is #5840E3?+

#5840E3 is a HEX color with RGB value rgb(88, 64, 227) and HSL value hsl(249, 74%, 57%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #5840E3?+

The closest Tailwind color is indigo-600, available as the bg-indigo-600 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