#2A1ABC Color

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

Color preview

#2A1ABC

Color formats

HEX
#2A1ABC
RGB
rgb(42, 26, 188)
RGBA
rgba(42, 26, 188, 1)
HSL
hsl(246, 76%, 42%)
HSV
hsv(246, 86%, 74%)
CMYK
cmyk(78%, 86%, 0%, 26%)
CSS variable
--color-primary: #2A1ABC;
Lowercase HEX
#2a1abc

Shades

Tints

Tones

Harmony

CSS snippets for #2A1ABC

.color-2a1abc {
  color: #2A1ABC;
  background-color: #2A1ABC;
}

Frequently asked questions

What color is #2A1ABC?+

#2A1ABC is a HEX color with RGB value rgb(42, 26, 188) and HSL value hsl(246, 76%, 42%). Its closest CSS named color is MediumBlue.

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

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