#0042D3
A medium, vivid blue closely aligning with Mediumslateblue.
About #0042D3
At its core, #0042D3 is a medium and vivid hue. Designers often compare it to the standard color Mediumslateblue. This translates to an RGB value of rgb(0, 66, 211).
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 100% Cyan, 69% Magenta, 0% Yellow, and 17% Black. This makes it a relatively light color when applied to physical surfaces.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. 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#0042D3
RGB0, 66, 211
HSL221.2°, 100.0%, 41.4%
CMYK100%, 69%, 0%, 17%
HSV221.2°, 100.0%, 82.7%
LAB35.2, 41.5, -78.0
XYZ13.7, 8.6, 62.6
Decimal17107
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.72:1
Text on #FFFFFF
AAA
2.72:1
Text on #000000
FAIL
7.38:1
Text on #F8FAFC
AAA
2.31:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0042D3;
}
.text-color {
color: #0042D3;
}
.border-color {
border: 2px solid #0042D3;
}