#2C0A48 Color

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

Color preview

#2C0A48

Color formats

HEX
#2C0A48
RGB
rgb(44, 10, 72)
RGBA
rgba(44, 10, 72, 1)
HSL
hsl(273, 76%, 16%)
HSV
hsv(273, 86%, 28%)
CMYK
cmyk(39%, 86%, 0%, 72%)
CSS variable
--color-primary: #2C0A48;
Lowercase HEX
#2c0a48

Shades

Tints

Tones

Harmony

CSS snippets for #2C0A48

.color-2c0a48 {
  color: #2C0A48;
  background-color: #2C0A48;
}

Frequently asked questions

What color is #2C0A48?+

#2C0A48 is a HEX color with RGB value rgb(44, 10, 72) and HSL value hsl(273, 76%, 16%). Its closest CSS named color is MidnightBlue.

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

The closest Tailwind color is indigo-950, available as the bg-indigo-950 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