#1D42A8
A dark, vivid blue closely aligning with Darkslateblue.
About #1D42A8
The precise color #1D42A8 is an excellent choice for modern design projects. It is closely associated with the named CSS color Darkslateblue. This translates to an RGB value of rgb(29, 66, 168).
Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 83% cyan, 61% magenta, 0% yellow, and 34% black. The HSL representation is 224.0° hue, 70.6% saturation, and 38.6% lightness.
When using this color as a background, text legibility must be considered. Because it is a dark color, it is generally recommended to use #FFFFFF text. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#1D42A8
RGB29, 66, 168
HSL224.0°, 70.6%, 38.6%
CMYK83%, 61%, 0%, 34%
HSV224.0°, 82.7%, 65.9%
LAB31.8, 26.3, -58.3
XYZ9.5, 7.0, 37.9
Decimal1917608
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
8.76:1
Text on #FFFFFF
AAA
2.40:1
Text on #000000
FAIL
8.37:1
Text on #F8FAFC
AAA
2.04:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #1D42A8;
}
.text-color {
color: #1D42A8;
}
.border-color {
border: 2px solid #1D42A8;
}