#271D90 Color

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

Color preview

#271D90

Color formats

HEX
#271D90
RGB
rgb(39, 29, 144)
RGBA
rgba(39, 29, 144, 1)
HSL
hsl(245, 66%, 34%)
HSV
hsv(245, 80%, 56%)
CMYK
cmyk(73%, 80%, 0%, 44%)
CSS variable
--color-primary: #271D90;
Lowercase HEX
#271d90

Shades

Tints

Tones

Harmony

CSS snippets for #271D90

.color-271d90 {
  color: #271D90;
  background-color: #271D90;
}

Frequently asked questions

What color is #271D90?+

#271D90 is a HEX color with RGB value rgb(39, 29, 144) and HSL value hsl(245, 66%, 34%). Its closest CSS named color is MidnightBlue.

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

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