#2C1D7C
A dark, moderate blue closely aligning with Midnightblue.
About #2C1D7C
The hex code #2C1D7C represents a beautifully specific shade of blue. If you're using CSS, you might find it aligns closely with Midnightblue. This translates to an RGB value of rgb(44, 29, 124).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 65% cyan and 77% magenta inks. Always request a physical proof before doing a large print run with this exact code.
From a UX and accessibility standpoint, contrast is paramount. 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#2C1D7C
RGB44, 29, 124
HSL249.5°, 62.1%, 30.0%
CMYK65%, 77%, 0%, 51%
HSV249.5°, 76.6%, 48.6%
LAB19.5, 35.7, -51.2
XYZ5.1, 2.9, 19.4
Decimal2891132
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.34:1
Text on #FFFFFF
AAA
1.57:1
Text on #000000
FAIL
12.75:1
Text on #F8FAFC
AAA
1.34:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C1D7C;
}
.text-color {
color: #2C1D7C;
}
.border-color {
border: 2px solid #2C1D7C;
}