#2C1D6D
A dark, moderate blue closely aligning with Midnightblue.
About #2C1D6D
The hex code #2C1D6D represents a beautifully specific shade of blue. Its closest recognized web color is Midnightblue. This translates to an RGB value of rgb(44, 29, 109).
When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 60% cyan, 73% magenta, 0% yellow, and 57% black. This makes it a relatively dark color when applied to physical surfaces.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #FFFFFF text pairs best with this hex code. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#2C1D6D
RGB44, 29, 109
HSL251.2°, 58.0%, 27.1%
CMYK60%, 73%, 0%, 57%
HSV251.2°, 73.4%, 42.7%
LAB18.0, 30.7, -44.0
XYZ4.2, 2.5, 14.7
Decimal2891117
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.97:1
Text on #FFFFFF
AAA
1.50:1
Text on #000000
FAIL
13.35:1
Text on #F8FAFC
AAA
1.28:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C1D6D;
}
.text-color {
color: #2C1D6D;
}
.border-color {
border: 2px solid #2C1D6D;
}