#5166DC Color

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

Color preview

#5166DC

Color formats

HEX
#5166DC
RGB
rgb(81, 102, 220)
RGBA
rgba(81, 102, 220, 1)
HSL
hsl(231, 67%, 59%)
HSV
hsv(231, 63%, 86%)
CMYK
cmyk(63%, 54%, 0%, 14%)
CSS variable
--color-primary: #5166DC;
Lowercase HEX
#5166dc

Shades

Tints

Tones

Harmony

CSS snippets for #5166DC

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

Frequently asked questions

What color is #5166DC?+

#5166DC is a HEX color with RGB value rgb(81, 102, 220) and HSL value hsl(231, 67%, 59%). Its closest CSS named color is RoyalBlue.

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

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