#2A28AF Color

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

Color preview

#2A28AF

Color formats

HEX
#2A28AF
RGB
rgb(42, 40, 175)
RGBA
rgba(42, 40, 175, 1)
HSL
hsl(241, 63%, 42%)
HSV
hsv(241, 77%, 69%)
CMYK
cmyk(76%, 77%, 0%, 31%)
CSS variable
--color-primary: #2A28AF;
Lowercase HEX
#2a28af

Shades

Tints

Tones

Harmony

CSS snippets for #2A28AF

.color-2a28af {
  color: #2A28AF;
  background-color: #2A28AF;
}

Frequently asked questions

What color is #2A28AF?+

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

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

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