#2A28AE Color

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

Color preview

#2A28AE

Color formats

HEX
#2A28AE
RGB
rgb(42, 40, 174)
RGBA
rgba(42, 40, 174, 1)
HSL
hsl(241, 63%, 42%)
HSV
hsv(241, 77%, 68%)
CMYK
cmyk(76%, 77%, 0%, 32%)
CSS variable
--color-primary: #2A28AE;
Lowercase HEX
#2a28ae

Shades

Tints

Tones

Harmony

CSS snippets for #2A28AE

.color-2a28ae {
  color: #2A28AE;
  background-color: #2A28AE;
}

Frequently asked questions

What color is #2A28AE?+

#2A28AE is a HEX color with RGB value rgb(42, 40, 174) and HSL value hsl(241, 63%, 42%). Its closest CSS named color is DarkSlateBlue.

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

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