#2c164e ≈ Midnight Blue
#2c164e 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, 8.63% green and 30.59% blue; printed in CMYK it uses 43.59% cyan, 71.79% magenta, 0% yellow and 69.41% black. Its hue angle is 263.57°, with 56% saturation and 19.61% 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.77:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.04.
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.0166 |
Shades
#2c164e mixed progressively with black.
Tints
#2c164e mixed progressively with white.
Tones
#2c164e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c164e {
color: #2c164e;
}
.bg-2c164e {
background-color: #2c164e;
color: #ffffff;
}
.border-2c164e {
border: 2px solid #2c164e;
}
:root {
--color-primary: #2c164e;
--color-primary-rgb: 44 22 78;
--color-primary-hsl: 264 56% 20%;
}
.gradient-2c164e {
background: linear-gradient(135deg, #2c164e, #48164e);
}
.shadow-2c164e {
box-shadow: 0 8px 24px rgb(44 22 78 / 0.35);
}
Midnight Blue
#2c164e rgb(44, 22, 78) hsl(264, 56%, 20%) Midnight Blue
#384e16 rgb(56, 78, 22) hsl(84, 56%, 20%) Army Green
#4e2c16 rgb(78, 44, 22) hsl(24, 56%, 20%) Bistre
#164e2c rgb(22, 78, 44) hsl(144, 56%, 20%) British Racing Green