#171b60 ≈ Midnight Blue
#171b60 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.59% green and 37.65% blue; printed in CMYK it uses 76.04% cyan, 71.88% magenta, 0% yellow and 62.35% black. Its hue angle is 236.71°, with 61.34% saturation and 23.33% 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 15.42:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.21.
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.0181 |
Shades
#171b60 mixed progressively with black.
Tints
#171b60 mixed progressively with white.
Tones
#171b60 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-171b60 {
color: #171b60;
}
.bg-171b60 {
background-color: #171b60;
color: #ffffff;
}
.border-171b60 {
border: 2px solid #171b60;
}
:root {
--color-primary: #171b60;
--color-primary-rgb: 23 27 96;
--color-primary-hsl: 237 61% 23%;
}
.gradient-171b60 {
background: linear-gradient(135deg, #171b60, #371760);
}
.shadow-171b60 {
box-shadow: 0 8px 24px rgb(23 27 96 / 0.35);
}
Midnight Blue
#171b60 rgb(23, 27, 96) hsl(237, 61%, 23%) Midnight Blue
#605c17 rgb(96, 92, 23) hsl(57, 61%, 23%) Army Green
#60171b rgb(96, 23, 27) hsl(357, 61%, 23%) Rosewood
#1b6017 rgb(27, 96, 23) hsl(117, 61%, 23%) Lincoln Green