#5042EB Color

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

Color preview

#5042EB

Color formats

HEX
#5042EB
RGB
rgb(80, 66, 235)
RGBA
rgba(80, 66, 235, 1)
HSL
hsl(245, 81%, 59%)
HSV
hsv(245, 72%, 92%)
CMYK
cmyk(66%, 72%, 0%, 8%)
CSS variable
--color-primary: #5042EB;
Lowercase HEX
#5042eb

Shades

Tints

Tones

Harmony

CSS snippets for #5042EB

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

Frequently asked questions

What color is #5042EB?+

#5042EB is a HEX color with RGB value rgb(80, 66, 235) and HSL value hsl(245, 81%, 59%). Its closest CSS named color is RoyalBlue.

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

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