#172180 ≈ Midnight Blue
#172180 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 9.02% red, 12.94% green and 50.2% blue; printed in CMYK it uses 82.03% cyan, 74.22% magenta, 0% yellow and 49.8% black. Its hue angle is 234.29°, with 69.54% saturation and 29.61% 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 13.41:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.04.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0283 |
Shades
#172180 mixed progressively with black.
Tints
#172180 mixed progressively with white.
Tones
#172180 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-172180 {
color: #172180;
}
.bg-172180 {
background-color: #172180;
color: #ffffff;
}
.border-172180 {
border: 2px solid #172180;
}
:root {
--color-primary: #172180;
--color-primary-rgb: 23 33 128;
--color-primary-hsl: 234 70% 30%;
}
.gradient-172180 {
background: linear-gradient(135deg, #172180, #421780);
}
.shadow-172180 {
box-shadow: 0 8px 24px rgb(23 33 128 / 0.35);
}
Midnight Blue
#172180 rgb(23, 33, 128) hsl(234, 70%, 30%) Midnight Blue
#807617 rgb(128, 118, 23) hsl(54, 70%, 30%) Olive
#801721 rgb(128, 23, 33) hsl(354, 70%, 30%) Burgundy
#218017 rgb(33, 128, 23) hsl(114, 70%, 30%) Green