#2A0F8A Color

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

Color preview

#2A0F8A

Color formats

HEX
#2A0F8A
RGB
rgb(42, 15, 138)
RGBA
rgba(42, 15, 138, 1)
HSL
hsl(253, 80%, 30%)
HSV
hsv(253, 89%, 54%)
CMYK
cmyk(70%, 89%, 0%, 46%)
CSS variable
--color-primary: #2A0F8A;
Lowercase HEX
#2a0f8a

Shades

Tints

Tones

Harmony

CSS snippets for #2A0F8A

.color-2a0f8a {
  color: #2A0F8A;
  background-color: #2A0F8A;
}

Frequently asked questions

What color is #2A0F8A?+

#2A0F8A is a HEX color with RGB value rgb(42, 15, 138) and HSL value hsl(253, 80%, 30%). Its closest CSS named color is MidnightBlue.

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

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