#1D166D
A dark, moderate blue closely aligning with Midnightblue.
About #1D166D
The hex code #1D166D represents a beautifully specific shade of blue. Designers often compare it to the standard color Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 29, 22, and 109.
For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 73% cyan and 80% 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. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#1D166D
RGB29, 22, 109
HSL244.8°, 66.4%, 25.7%
CMYK73%, 80%, 0%, 57%
HSV244.8°, 79.8%, 42.7%
LAB15.2, 32.9, -48.8
XYZ3.6, 1.9, 14.7
Decimal1906285
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
15.13:1
Text on #FFFFFF
AAA
1.39:1
Text on #000000
FAIL
14.46:1
Text on #F8FAFC
AAA
1.18:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #1D166D;
}
.text-color {
color: #1D166D;
}
.border-color {
border: 2px solid #1D166D;
}