#5228EB Color

Inspect #5228EB across formats, palettes, contrast and closest named color matches.

Color preview

#5228EB

Color formats

HEX
#5228EB
RGB
rgb(82, 40, 235)
RGBA
rgba(82, 40, 235, 1)
HSL
hsl(253, 83%, 54%)
HSV
hsv(253, 83%, 92%)
CMYK
cmyk(65%, 83%, 0%, 8%)
CSS variable
--color-primary: #5228EB;
Lowercase HEX
#5228eb

Shades

Tints

Tones

Harmony

CSS snippets for #5228EB

.color-5228eb {
  color: #5228EB;
  background-color: #5228EB;
}

Frequently asked questions

What color is #5228EB?+

#5228EB is a HEX color with RGB value rgb(82, 40, 235) and HSL value hsl(253, 83%, 54%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #5228EB?+

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