#2C0F8A Color

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

Color preview

#2C0F8A

Color formats

HEX
#2C0F8A
RGB
rgb(44, 15, 138)
RGBA
rgba(44, 15, 138, 1)
HSL
hsl(254, 80%, 30%)
HSV
hsv(254, 89%, 54%)
CMYK
cmyk(68%, 89%, 0%, 46%)
CSS variable
--color-primary: #2C0F8A;
Lowercase HEX
#2c0f8a

Shades

Tints

Tones

Harmony

CSS snippets for #2C0F8A

.color-2c0f8a {
  color: #2C0F8A;
  background-color: #2C0F8A;
}

Frequently asked questions

What color is #2C0F8A?+

#2C0F8A is a HEX color with RGB value rgb(44, 15, 138) and HSL value hsl(254, 80%, 30%). Its closest CSS named color is MidnightBlue.

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

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