#1D165F
A dark, moderate blue closely aligning with Midnightblue.
About #1D165F
When working with digital screens, the color #1D165F is rendered by mixing light. Its closest recognized web color is Midnightblue. This translates to an RGB value of rgb(29, 22, 95).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 69% C, 77% M, 0% Y, and 63% K. The HSL representation is 245.8° hue, 62.4% saturation, and 22.9% lightness.
Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#1D165F
RGB29, 22, 95
HSL245.8°, 62.4%, 22.9%
CMYK69%, 77%, 0%, 63%
HSV245.8°, 76.8%, 37.3%
LAB13.6, 27.9, -42.1
XYZ2.9, 1.7, 11.0
Decimal1906271
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
15.76:1
Text on #FFFFFF
AAA
1.33:1
Text on #000000
FAIL
15.07:1
Text on #F8FAFC
AAA
1.13:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #1D165F;
}
.text-color {
color: #1D165F;
}
.border-color {
border: 2px solid #1D165F;
}