#170b4e ≈ Midnight Blue
#170b4e is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 9.02% red, 4.31% green and 30.59% blue; printed in CMYK it uses 70.51% cyan, 85.9% magenta, 0% yellow and 69.41% black. Its hue angle is 250.75°, with 75.28% saturation and 17.45% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 17.58:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.29.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0097 |
Shades
#170b4e mixed progressively with black.
Tints
#170b4e mixed progressively with white.
Tones
#170b4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-170b4e {
color: #170b4e;
}
.bg-170b4e {
background-color: #170b4e;
color: #ffffff;
}
.border-170b4e {
border: 2px solid #170b4e;
}
:root {
--color-primary: #170b4e;
--color-primary-rgb: 23 11 78;
--color-primary-hsl: 251 75% 17%;
}
.gradient-170b4e {
background: linear-gradient(135deg, #170b4e, #390b4e);
}
.shadow-170b4e {
box-shadow: 0 8px 24px rgb(23 11 78 / 0.35);
}
Midnight Blue
#170b4e rgb(23, 11, 78) hsl(251, 75%, 17%) Midnight Blue
#424e0b rgb(66, 78, 11) hsl(71, 75%, 17%) Army Green
#4e170b rgb(78, 23, 11) hsl(11, 75%, 17%) Caput Mortuum
#0b4e17 rgb(11, 78, 23) hsl(131, 75%, 17%) Lincoln Green