#15175b ≈ Midnight Blue
#15175b is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 8.24% red, 9.02% green and 35.69% blue; printed in CMYK it uses 76.92% cyan, 74.73% magenta, 0% yellow and 64.31% black. Its hue angle is 238.29°, with 62.5% saturation and 21.96% 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 16.09:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.71.
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.0153 |
Shades
#15175b mixed progressively with black.
Tints
#15175b mixed progressively with white.
Tones
#15175b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-15175b {
color: #15175b;
}
.bg-15175b {
background-color: #15175b;
color: #ffffff;
}
.border-15175b {
border: 2px solid #15175b;
}
:root {
--color-primary: #15175b;
--color-primary-rgb: 21 23 91;
--color-primary-hsl: 238 63% 22%;
}
.gradient-15175b {
background: linear-gradient(135deg, #15175b, #36155b);
}
.shadow-15175b {
box-shadow: 0 8px 24px rgb(21 23 91 / 0.35);
}
Midnight Blue
#15175b rgb(21, 23, 91) hsl(238, 63%, 22%) Midnight Blue
#5b5915 rgb(91, 89, 21) hsl(58, 63%, 22%) Army Green
#5b1517 rgb(91, 21, 23) hsl(358, 63%, 22%) Rosewood
#175b15 rgb(23, 91, 21) hsl(118, 63%, 22%) Lincoln Green