#5138DC Color

Inspect #5138DC across formats, palettes, contrast and closest named color matches.

Color preview

#5138DC

Color formats

HEX
#5138DC
RGB
rgb(81, 56, 220)
RGBA
rgba(81, 56, 220, 1)
HSL
hsl(249, 70%, 54%)
HSV
hsv(249, 75%, 86%)
CMYK
cmyk(63%, 75%, 0%, 14%)
CSS variable
--color-primary: #5138DC;
Lowercase HEX
#5138dc

Shades

Tints

Tones

Harmony

CSS snippets for #5138DC

.color-5138dc {
  color: #5138DC;
  background-color: #5138DC;
}

Frequently asked questions

What color is #5138DC?+

#5138DC is a HEX color with RGB value rgb(81, 56, 220) and HSL value hsl(249, 70%, 54%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #5138DC?+

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