#5162D1 Color

Inspect #5162D1 across formats, palettes, contrast and closest named color matches.

Color preview

#5162D1

Color formats

HEX
#5162D1
RGB
rgb(81, 98, 209)
RGBA
rgba(81, 98, 209, 1)
HSL
hsl(232, 58%, 57%)
HSV
hsv(232, 61%, 82%)
CMYK
cmyk(61%, 53%, 0%, 18%)
CSS variable
--color-primary: #5162D1;
Lowercase HEX
#5162d1

Shades

Tints

Tones

Harmony

CSS snippets for #5162D1

.color-5162d1 {
  color: #5162D1;
  background-color: #5162D1;
}

Frequently asked questions

What color is #5162D1?+

#5162D1 is a HEX color with RGB value rgb(81, 98, 209) and HSL value hsl(232, 58%, 57%). Its closest CSS named color is RoyalBlue.

What is the closest Tailwind color to #5162D1?+

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