#2C1D83

A dark, moderate blue closely aligning with Midnightblue.

About #2C1D83

Visually, #2C1D83 is defined as a moderate blue. It is closely associated with the named CSS color Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 44, 29, and 131.

When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 66% C, 78% M, 0% Y, and 49% K. With a hue angle of 248.8 degrees, it sits comfortably in the blue spectrum.

Contrast ratios determine whether this color is safe for typography. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#2C1D83
RGB44, 29, 131
HSL248.8°, 63.7%, 31.4%
CMYK66%, 78%, 0%, 49%
HSV248.8°, 77.9%, 51.4%
LAB20.3, 38.0, -54.4
XYZ5.6, 3.1, 21.8
Decimal2891139

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

13.04:1
Text on #FFFFFF
AAA
1.61:1
Text on #000000
FAIL
12.46:1
Text on #F8FAFC
AAA
1.37:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970