#2A28D7 Color

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

Color preview

#2A28D7

Color formats

HEX
#2A28D7
RGB
rgb(42, 40, 215)
RGBA
rgba(42, 40, 215, 1)
HSL
hsl(241, 69%, 50%)
HSV
hsv(241, 81%, 84%)
CMYK
cmyk(80%, 81%, 0%, 16%)
CSS variable
--color-primary: #2A28D7;
Lowercase HEX
#2a28d7

Shades

Tints

Tones

Harmony

CSS snippets for #2A28D7

.color-2a28d7 {
  color: #2A28D7;
  background-color: #2A28D7;
}

Frequently asked questions

What color is #2A28D7?+

#2A28D7 is a HEX color with RGB value rgb(42, 40, 215) and HSL value hsl(241, 69%, 50%). Its closest CSS named color is MediumBlue.

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

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