#2c1962 ≈ Midnight Blue
#2c1962 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 17.25% red, 9.8% green and 38.43% blue; printed in CMYK it uses 55.1% cyan, 74.49% magenta, 0% yellow and 61.57% black. Its hue angle is 255.62°, with 59.35% saturation and 24.12% 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.76:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.1.
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.0211 |
Shades
#2c1962 mixed progressively with black.
Tints
#2c1962 mixed progressively with white.
Tones
#2c1962 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c1962 {
color: #2c1962;
}
.bg-2c1962 {
background-color: #2c1962;
color: #ffffff;
}
.border-2c1962 {
border: 2px solid #2c1962;
}
:root {
--color-primary: #2c1962;
--color-primary-rgb: 44 25 98;
--color-primary-hsl: 256 59% 24%;
}
.gradient-2c1962 {
background: linear-gradient(135deg, #2c1962, #511962);
}
.shadow-2c1962 {
box-shadow: 0 8px 24px rgb(44 25 98 / 0.35);
}
Midnight Blue
#2c1962 rgb(44, 25, 98) hsl(256, 59%, 24%) Midnight Blue
#4f6219 rgb(79, 98, 25) hsl(76, 59%, 24%) Dark Olive Green
#622c19 rgb(98, 44, 25) hsl(16, 59%, 24%) Caput Mortuum
#19622c rgb(25, 98, 44) hsl(136, 59%, 24%) Cadmium Green