#1D3366
A dark, moderate blue closely aligning with Darkslateblue.
About #1D3366
The precise color #1D3366 is an excellent choice for modern design projects. Designers often compare it to the standard color Darkslateblue. This translates to an RGB value of rgb(29, 51, 102).
If you are designing for print, the four-color process is what matters most. The color uses 72% Cyan, 50% Magenta, 0% Yellow, and 60% Black. The HSL representation is 221.9° hue, 55.7% saturation, and 25.7% lightness.
Ensuring your text is legible against this background is a key part of web design. Because it is a dark color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#1D3366
RGB29, 51, 102
HSL221.9°, 55.7%, 25.7%
CMYK72%, 50%, 0%, 60%
HSV221.9°, 71.6%, 40.0%
LAB22.3, 10.3, -32.6
XYZ4.1, 3.6, 13.0
Decimal1913702
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
12.23:1
Text on #FFFFFF
AAA
1.72:1
Text on #000000
FAIL
11.69:1
Text on #F8FAFC
AAA
1.46:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #1D3366;
}
.text-color {
color: #1D3366;
}
.border-color {
border: 2px solid #1D3366;
}