#2A27BE Color

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

Color preview

#2A27BE

Color formats

HEX
#2A27BE
RGB
rgb(42, 39, 190)
RGBA
rgba(42, 39, 190, 1)
HSL
hsl(241, 66%, 45%)
HSV
hsv(241, 79%, 75%)
CMYK
cmyk(78%, 79%, 0%, 25%)
CSS variable
--color-primary: #2A27BE;
Lowercase HEX
#2a27be

Shades

Tints

Tones

Harmony

CSS snippets for #2A27BE

.color-2a27be {
  color: #2A27BE;
  background-color: #2A27BE;
}

Frequently asked questions

What color is #2A27BE?+

#2A27BE is a HEX color with RGB value rgb(42, 39, 190) and HSL value hsl(241, 66%, 45%). Its closest CSS named color is MediumBlue.

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

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