#2C2787 Color

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

Color preview

#2C2787

Color formats

HEX
#2C2787
RGB
rgb(44, 39, 135)
RGBA
rgba(44, 39, 135, 1)
HSL
hsl(243, 55%, 34%)
HSV
hsv(243, 71%, 53%)
CMYK
cmyk(67%, 71%, 0%, 47%)
CSS variable
--color-primary: #2C2787;
Lowercase HEX
#2c2787

Shades

Tints

Tones

Harmony

CSS snippets for #2C2787

.color-2c2787 {
  color: #2C2787;
  background-color: #2C2787;
}

Frequently asked questions

What color is #2C2787?+

#2C2787 is a HEX color with RGB value rgb(44, 39, 135) and HSL value hsl(243, 55%, 34%). Its closest CSS named color is MidnightBlue.

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

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