#2A1BBA Color

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

Color preview

#2A1BBA

Color formats

HEX
#2A1BBA
RGB
rgb(42, 27, 186)
RGBA
rgba(42, 27, 186, 1)
HSL
hsl(246, 75%, 42%)
HSV
hsv(246, 85%, 73%)
CMYK
cmyk(77%, 85%, 0%, 27%)
CSS variable
--color-primary: #2A1BBA;
Lowercase HEX
#2a1bba

Shades

Tints

Tones

Harmony

CSS snippets for #2A1BBA

.color-2a1bba {
  color: #2A1BBA;
  background-color: #2A1BBA;
}

Frequently asked questions

What color is #2A1BBA?+

#2A1BBA is a HEX color with RGB value rgb(42, 27, 186) and HSL value hsl(246, 75%, 42%). Its closest CSS named color is MediumBlue.

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

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