#2E51A3 Color

Inspect #2E51A3 across formats, palettes, contrast and closest named color matches.

Color preview

#2E51A3

Color formats

HEX
#2E51A3
RGB
rgb(46, 81, 163)
RGBA
rgba(46, 81, 163, 1)
HSL
hsl(222, 56%, 41%)
HSV
hsv(222, 72%, 64%)
CMYK
cmyk(72%, 50%, 0%, 36%)
CSS variable
--color-primary: #2E51A3;
Lowercase HEX
#2e51a3

Shades

Tints

Tones

Harmony

CSS snippets for #2E51A3

.color-2e51a3 {
  color: #2E51A3;
  background-color: #2E51A3;
}

Frequently asked questions

What color is #2E51A3?+

#2E51A3 is a HEX color with RGB value rgb(46, 81, 163) and HSL value hsl(222, 56%, 41%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #2E51A3?+

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