#505AF2 Color

Inspect #505AF2 across formats, palettes, contrast and closest named color matches.

Color preview

#505AF2

Color formats

HEX
#505AF2
RGB
rgb(80, 90, 242)
RGBA
rgba(80, 90, 242, 1)
HSL
hsl(236, 86%, 63%)
HSV
hsv(236, 67%, 95%)
CMYK
cmyk(67%, 63%, 0%, 5%)
CSS variable
--color-primary: #505AF2;
Lowercase HEX
#505af2

Shades

Tints

Tones

Harmony

CSS snippets for #505AF2

.color-505af2 {
  color: #505AF2;
  background-color: #505AF2;
}

Frequently asked questions

What color is #505AF2?+

#505AF2 is a HEX color with RGB value rgb(80, 90, 242) and HSL value hsl(236, 86%, 63%). Its closest CSS named color is RoyalBlue.

What is the closest Tailwind color to #505AF2?+

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