#504CBA Color

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

Color preview

#504CBA

Color formats

HEX
#504CBA
RGB
rgb(80, 76, 186)
RGBA
rgba(80, 76, 186, 1)
HSL
hsl(242, 44%, 51%)
HSV
hsv(242, 59%, 73%)
CMYK
cmyk(57%, 59%, 0%, 27%)
CSS variable
--color-primary: #504CBA;
Lowercase HEX
#504cba

Shades

Tints

Tones

Harmony

CSS snippets for #504CBA

.color-504cba {
  color: #504CBA;
  background-color: #504CBA;
}

Frequently asked questions

What color is #504CBA?+

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

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

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