#2C2C99

A dark, moderate blue closely aligning with Midnightblue.

About #2C2C99

The precise color #2C2C99 is an excellent choice for modern design projects. It is closely associated with the named CSS color Midnightblue. In the RGB color space, it consists of 44 red, 44 green, and 153 blue.

When sending designs containing this color to a printer, the CMYK values come into play. To reproduce this shade on paper, a printer utilizes 71% cyan and 71% magenta inks. The HSL representation is 240.0° hue, 55.3% saturation, and 38.6% lightness.

Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#2C2C99
RGB44, 44, 153
HSL240.0°, 55.3%, 38.6%
CMYK71%, 71%, 0%, 40%
HSV240.0°, 71.2%, 60.0%
LAB25.7, 36.6, -59.2
XYZ7.7, 4.6, 30.6
Decimal2895001

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

10.90:1
Text on #FFFFFF
AAA
1.93:1
Text on #000000
FAIL
10.41:1
Text on #F8FAFC
AAA
1.64:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #2C2C99; }
.text-color { color: #2C2C99; }
.border-color { border: 2px solid #2C2C99; }

Similar Colors

Midnightblue
#191970