#2d164d ≈ Midnight Blue
#2d164d is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 17.65% red, 8.63% green and 30.2% blue; printed in CMYK it uses 41.56% cyan, 71.43% magenta, 0% yellow and 69.8% black. Its hue angle is 265.09°, with 55.56% saturation and 19.41% 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.75:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.43.
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.0167 |
Shades
#2d164d mixed progressively with black.
Tints
#2d164d mixed progressively with white.
Tones
#2d164d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d164d {
color: #2d164d;
}
.bg-2d164d {
background-color: #2d164d;
color: #ffffff;
}
.border-2d164d {
border: 2px solid #2d164d;
}
:root {
--color-primary: #2d164d;
--color-primary-rgb: 45 22 77;
--color-primary-hsl: 265 56% 19%;
}
.gradient-2d164d {
background: linear-gradient(135deg, #2d164d, #48164d);
}
.shadow-2d164d {
box-shadow: 0 8px 24px rgb(45 22 77 / 0.35);
}
Midnight Blue
#2d164d rgb(45, 22, 77) hsl(265, 56%, 19%) Midnight Blue
#364d16 rgb(54, 77, 22) hsl(85, 56%, 19%) Army Green
#4d2d16 rgb(77, 45, 22) hsl(25, 56%, 19%) Bistre
#164d2d rgb(22, 77, 45) hsl(145, 56%, 19%) British Racing Green