#170348 ≈ Midnight Blue
#170348 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, 1.18% green and 28.24% blue; printed in CMYK it uses 68.06% cyan, 95.83% magenta, 0% yellow and 71.76% black. Its hue angle is 257.39°, with 92% saturation and 14.71% 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 18.37:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.92.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0072 |
Shades
#170348 mixed progressively with black.
Tints
#170348 mixed progressively with white.
Tones
#170348 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-170348 {
color: #170348;
}
.bg-170348 {
background-color: #170348;
color: #ffffff;
}
.border-170348 {
border: 2px solid #170348;
}
:root {
--color-primary: #170348;
--color-primary-rgb: 23 3 72;
--color-primary-hsl: 257 92% 15%;
}
.gradient-170348 {
background: linear-gradient(135deg, #170348, #3a0348);
}
.shadow-170348 {
box-shadow: 0 8px 24px rgb(23 3 72 / 0.35);
}
Midnight Blue
#170348 rgb(23, 3, 72) hsl(257, 92%, 15%) Midnight Blue
#344803 rgb(52, 72, 3) hsl(77, 92%, 15%) Army Green
#481703 rgb(72, 23, 3) hsl(17, 92%, 15%) Caput Mortuum
#034817 rgb(3, 72, 23) hsl(137, 92%, 15%) British Racing Green