#1642CC
A medium, vivid blue closely aligning with Mediumslateblue.
About #1642CC
The precise color #1642CC is an excellent choice for modern design projects. Its closest recognized web color is Mediumslateblue. In the RGB color space, it consists of 22 red, 66 green, and 204 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 89% C, 68% M, 0% Y, and 20% K. The HSL representation is 225.5° hue, 80.5% saturation, and 44.3% lightness.
Contrast ratios determine whether this color is safe for typography. 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#1642CC
RGB22, 66, 204
HSL225.5°, 80.5%, 44.3%
CMYK89%, 68%, 0%, 20%
HSV225.5°, 89.2%, 80.0%
LAB34.9, 39.6, -74.5
XYZ13.2, 8.4, 58.1
Decimal1458892
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.82:1
Text on #FFFFFF
AAA
2.69:1
Text on #000000
FAIL
7.47:1
Text on #F8FAFC
AAA
2.28:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #1642CC;
}
.text-color {
color: #1642CC;
}
.border-color {
border: 2px solid #1642CC;
}