#1D2C8A
A dark, moderate blue closely aligning with Midnightblue.
About #1D2C8A
The hex code #1D2C8A represents a beautifully specific shade of blue. If you're using CSS, you might find it aligns closely with Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 29, 44, and 138.
If you are designing for print, the four-color process is what matters most. The color uses 79% Cyan, 68% Magenta, 0% Yellow, and 46% Black. With a hue angle of 231.7 degrees, it sits comfortably in the blue spectrum.
Contrast ratios determine whether this color is safe for typography. Because it is a dark color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#1D2C8A
RGB29, 44, 138
HSL231.7°, 65.3%, 32.7%
CMYK79%, 68%, 0%, 46%
HSV231.7°, 79.0%, 54.1%
LAB23.3, 29.5, -53.8
XYZ6.0, 3.9, 24.5
Decimal1911946
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
11.80:1
Text on #FFFFFF
AAA
1.78:1
Text on #000000
FAIL
11.28:1
Text on #F8FAFC
AAA
1.51:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #1D2C8A;
}
.text-color {
color: #1D2C8A;
}
.border-color {
border: 2px solid #1D2C8A;
}