#271BAD Color

Inspect #271BAD across formats, palettes, contrast and closest named color matches.

Color preview

#271BAD

Color formats

HEX
#271BAD
RGB
rgb(39, 27, 173)
RGBA
rgba(39, 27, 173, 1)
HSL
hsl(245, 73%, 39%)
HSV
hsv(245, 84%, 68%)
CMYK
cmyk(77%, 84%, 0%, 32%)
CSS variable
--color-primary: #271BAD;
Lowercase HEX
#271bad

Shades

Tints

Tones

Harmony

CSS snippets for #271BAD

.color-271bad {
  color: #271BAD;
  background-color: #271BAD;
}

Frequently asked questions

What color is #271BAD?+

#271BAD is a HEX color with RGB value rgb(39, 27, 173) and HSL value hsl(245, 73%, 39%). Its closest CSS named color is MediumBlue.

What is the closest Tailwind color to #271BAD?+

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