#2c174e ≈ Midnight Blue
#2c174e is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 17.25% red, 9.02% green and 30.59% blue; printed in CMYK it uses 43.59% cyan, 70.51% magenta, 0% yellow and 69.41% black. Its hue angle is 262.91°, with 54.46% saturation and 19.8% 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 15.68:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.09.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.017 |
Shades
#2c174e mixed progressively with black.
Tints
#2c174e mixed progressively with white.
Tones
#2c174e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c174e {
color: #2c174e;
}
.bg-2c174e {
background-color: #2c174e;
color: #ffffff;
}
.border-2c174e {
border: 2px solid #2c174e;
}
:root {
--color-primary: #2c174e;
--color-primary-rgb: 44 23 78;
--color-primary-hsl: 263 54% 20%;
}
.gradient-2c174e {
background: linear-gradient(135deg, #2c174e, #47174e);
}
.shadow-2c174e {
box-shadow: 0 8px 24px rgb(44 23 78 / 0.35);
}
Midnight Blue
#2c174e rgb(44, 23, 78) hsl(263, 54%, 20%) Midnight Blue
#394e17 rgb(57, 78, 23) hsl(83, 54%, 20%) Army Green
#4e2c17 rgb(78, 44, 23) hsl(23, 54%, 20%) Bistre
#174e2c rgb(23, 78, 44) hsl(143, 54%, 20%) British Racing Green