#170c4e ≈ Midnight Blue
#170c4e 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.71% green and 30.59% blue; printed in CMYK it uses 70.51% cyan, 84.62% magenta, 0% yellow and 69.41% black. Its hue angle is 250°, with 73.33% saturation and 17.65% 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.51:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.23.
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.01 |
Shades
#170c4e mixed progressively with black.
Tints
#170c4e mixed progressively with white.
Tones
#170c4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-170c4e {
color: #170c4e;
}
.bg-170c4e {
background-color: #170c4e;
color: #ffffff;
}
.border-170c4e {
border: 2px solid #170c4e;
}
:root {
--color-primary: #170c4e;
--color-primary-rgb: 23 12 78;
--color-primary-hsl: 250 73% 18%;
}
.gradient-170c4e {
background: linear-gradient(135deg, #170c4e, #380c4e);
}
.shadow-170c4e {
box-shadow: 0 8px 24px rgb(23 12 78 / 0.35);
}
Midnight Blue
#170c4e rgb(23, 12, 78) hsl(250, 73%, 18%) Midnight Blue
#434e0c rgb(67, 78, 12) hsl(70, 73%, 18%) Army Green
#4e170c rgb(78, 23, 12) hsl(10, 73%, 18%) Caput Mortuum
#0c4e17 rgb(12, 78, 23) hsl(130, 73%, 18%) Lincoln Green