#171c6c ≈ Midnight Blue
#171c6c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 9.02% red, 10.98% green and 42.35% blue; printed in CMYK it uses 78.7% cyan, 74.07% magenta, 0% yellow and 57.65% black. Its hue angle is 236.47°, with 64.89% saturation and 25.69% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 14.8:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.36.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.021 |
Shades
#171c6c mixed progressively with black.
Tints
#171c6c mixed progressively with white.
Tones
#171c6c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-171c6c {
color: #171c6c;
}
.bg-171c6c {
background-color: #171c6c;
color: #ffffff;
}
.border-171c6c {
border: 2px solid #171c6c;
}
:root {
--color-primary: #171c6c;
--color-primary-rgb: 23 28 108;
--color-primary-hsl: 236 65% 26%;
}
.gradient-171c6c {
background: linear-gradient(135deg, #171c6c, #3d176c);
}
.shadow-171c6c {
box-shadow: 0 8px 24px rgb(23 28 108 / 0.35);
}
Midnight Blue
#171c6c rgb(23, 28, 108) hsl(236, 65%, 26%) Midnight Blue
#6c6717 rgb(108, 103, 23) hsl(56, 65%, 26%) Dark Olive Green
#6c171c rgb(108, 23, 28) hsl(356, 65%, 26%) Rosewood
#1c6c17 rgb(28, 108, 23) hsl(116, 65%, 26%) Pakistan Green