#1D1657
A dark, moderate blue closely aligning with Midnightblue.
About #1D1657
When working with digital screens, the color #1D1657 is rendered by mixing light. It is closely associated with the named CSS color Midnightblue. This translates to an RGB value of rgb(29, 22, 87).
For print applications, it's crucial to understand its CMYK makeup. The color uses 67% Cyan, 75% Magenta, 0% Yellow, and 66% Black. With a hue angle of 246.5 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. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#1D1657
RGB29, 22, 87
HSL246.5°, 59.6%, 21.4%
CMYK67%, 75%, 0%, 66%
HSV246.5°, 74.7%, 34.1%
LAB12.8, 25.0, -38.1
XYZ2.5, 1.5, 9.2
Decimal1906263
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
16.10:1
Text on #FFFFFF
AAA
1.30:1
Text on #000000
FAIL
15.38:1
Text on #F8FAFC
AAA
1.11:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #1D1657;
}
.text-color {
color: #1D1657;
}
.border-color {
border: 2px solid #1D1657;
}