#2d1663 ≈ Midnight Blue
#2d1663 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 17.65% red, 8.63% green and 38.82% blue; printed in CMYK it uses 54.55% cyan, 77.78% magenta, 0% yellow and 61.18% black. Its hue angle is 257.92°, with 63.64% saturation and 23.73% 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 14.93:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.18.
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.0203 |
Shades
#2d1663 mixed progressively with black.
Tints
#2d1663 mixed progressively with white.
Tones
#2d1663 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d1663 {
color: #2d1663;
}
.bg-2d1663 {
background-color: #2d1663;
color: #ffffff;
}
.border-2d1663 {
border: 2px solid #2d1663;
}
:root {
--color-primary: #2d1663;
--color-primary-rgb: 45 22 99;
--color-primary-hsl: 258 64% 24%;
}
.gradient-2d1663 {
background: linear-gradient(135deg, #2d1663, #541663);
}
.shadow-2d1663 {
box-shadow: 0 8px 24px rgb(45 22 99 / 0.35);
}
Midnight Blue
#2d1663 rgb(45, 22, 99) hsl(258, 64%, 24%) Midnight Blue
#4c6316 rgb(76, 99, 22) hsl(78, 64%, 24%) Dark Olive Green
#632d16 rgb(99, 45, 22) hsl(18, 64%, 24%) Caput Mortuum
#16632d rgb(22, 99, 45) hsl(138, 64%, 24%) Cadmium Green