#5166DB Color

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

Color preview

#5166DB

Color formats

HEX
#5166DB
RGB
rgb(81, 102, 219)
RGBA
rgba(81, 102, 219, 1)
HSL
hsl(231, 66%, 59%)
HSV
hsv(231, 63%, 86%)
CMYK
cmyk(63%, 53%, 0%, 14%)
CSS variable
--color-primary: #5166DB;
Lowercase HEX
#5166db

Shades

Tints

Tones

Harmony

CSS snippets for #5166DB

.color-5166db {
  color: #5166DB;
  background-color: #5166DB;
}

Frequently asked questions

What color is #5166DB?+

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

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

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