#5140D4 Color

Inspect #5140D4 across formats, palettes, contrast and closest named color matches.

Color preview

#5140D4

Color formats

HEX
#5140D4
RGB
rgb(81, 64, 212)
RGBA
rgba(81, 64, 212, 1)
HSL
hsl(247, 63%, 54%)
HSV
hsv(247, 70%, 83%)
CMYK
cmyk(62%, 70%, 0%, 17%)
CSS variable
--color-primary: #5140D4;
Lowercase HEX
#5140d4

Shades

Tints

Tones

Harmony

CSS snippets for #5140D4

.color-5140d4 {
  color: #5140D4;
  background-color: #5140D4;
}

Frequently asked questions

What color is #5140D4?+

#5140D4 is a HEX color with RGB value rgb(81, 64, 212) and HSL value hsl(247, 63%, 54%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #5140D4?+

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