#2c1952 ≈ Midnight Blue
#2c1952 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 17.25% red, 9.8% green and 32.16% blue; printed in CMYK it uses 46.34% cyan, 69.51% magenta, 0% yellow and 67.84% black. Its hue angle is 260°, with 53.27% saturation and 20.98% 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.35:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.27.
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.0184 |
Shades
#2c1952 mixed progressively with black.
Tints
#2c1952 mixed progressively with white.
Tones
#2c1952 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c1952 {
color: #2c1952;
}
.bg-2c1952 {
background-color: #2c1952;
color: #ffffff;
}
.border-2c1952 {
border: 2px solid #2c1952;
}
:root {
--color-primary: #2c1952;
--color-primary-rgb: 44 25 82;
--color-primary-hsl: 260 53% 21%;
}
.gradient-2c1952 {
background: linear-gradient(135deg, #2c1952, #481952);
}
.shadow-2c1952 {
box-shadow: 0 8px 24px rgb(44 25 82 / 0.35);
}
Midnight Blue
#2c1952 rgb(44, 25, 82) hsl(260, 53%, 21%) Midnight Blue
#3f5219 rgb(63, 82, 25) hsl(80, 53%, 21%) Army Green
#522c19 rgb(82, 44, 25) hsl(20, 53%, 21%) Caput Mortuum
#19522c rgb(25, 82, 44) hsl(140, 53%, 21%) Hunter Green