#1D42B6
A medium, vivid blue closely aligning with Slateblue.
About #1D42B6
At its core, #1D42B6 is a medium and vivid hue. If you're using CSS, you might find it aligns closely with Slateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 29, 66, and 182.
When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 84% cyan, 64% magenta, 0% yellow, and 29% black. With a hue angle of 225.5 degrees, it sits comfortably in the blue spectrum.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#1D42B6
RGB29, 66, 182
HSL225.5°, 72.5%, 41.4%
CMYK84%, 64%, 0%, 29%
HSV225.5°, 84.1%, 71.4%
LAB33.0, 31.7, -64.7
XYZ10.9, 7.5, 45.1
Decimal1917622
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
8.38:1
Text on #FFFFFF
AAA
2.51:1
Text on #000000
FAIL
8.01:1
Text on #F8FAFC
AAA
2.13:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #1D42B6;
}
.text-color {
color: #1D42B6;
}
.border-color {
border: 2px solid #1D42B6;
}