#5042CD Color

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

Color preview

#5042CD

Color formats

HEX
#5042CD
RGB
rgb(80, 66, 205)
RGBA
rgba(80, 66, 205, 1)
HSL
hsl(246, 58%, 53%)
HSV
hsv(246, 68%, 80%)
CMYK
cmyk(61%, 68%, 0%, 20%)
CSS variable
--color-primary: #5042CD;
Lowercase HEX
#5042cd

Shades

Tints

Tones

Harmony

CSS snippets for #5042CD

.color-5042cd {
  color: #5042CD;
  background-color: #5042CD;
}

Frequently asked questions

What color is #5042CD?+

#5042CD is a HEX color with RGB value rgb(80, 66, 205) and HSL value hsl(246, 58%, 53%). Its closest CSS named color is SlateBlue.

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

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