#504CB8 Color

Inspect #504CB8 across formats, palettes, contrast and closest named color matches.

Color preview

#504CB8

Color formats

HEX
#504CB8
RGB
rgb(80, 76, 184)
RGBA
rgba(80, 76, 184, 1)
HSL
hsl(242, 43%, 51%)
HSV
hsv(242, 59%, 72%)
CMYK
cmyk(57%, 59%, 0%, 28%)
CSS variable
--color-primary: #504CB8;
Lowercase HEX
#504cb8

Shades

Tints

Tones

Harmony

CSS snippets for #504CB8

.color-504cb8 {
  color: #504CB8;
  background-color: #504CB8;
}

Frequently asked questions

What color is #504CB8?+

#504CB8 is a HEX color with RGB value rgb(80, 76, 184) and HSL value hsl(242, 43%, 51%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #504CB8?+

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