#2c1946 ≈ Midnight Blue
#2c1946 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, 9.8% green and 27.45% blue; printed in CMYK it uses 37.14% cyan, 64.29% magenta, 0% yellow and 72.55% black. Its hue angle is 265.33°, with 47.37% saturation and 18.63% 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.74:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 10.33.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0167 |
Shades
#2c1946 mixed progressively with black.
Tints
#2c1946 mixed progressively with white.
Tones
#2c1946 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c1946 {
color: #2c1946;
}
.bg-2c1946 {
background-color: #2c1946;
color: #ffffff;
}
.border-2c1946 {
border: 2px solid #2c1946;
}
:root {
--color-primary: #2c1946;
--color-primary-rgb: 44 25 70;
--color-primary-hsl: 265 47% 19%;
}
.gradient-2c1946 {
background: linear-gradient(135deg, #2c1946, #431946);
}
.shadow-2c1946 {
box-shadow: 0 8px 24px rgb(44 25 70 / 0.35);
}
Midnight Blue
#2c1946 rgb(44, 25, 70) hsl(265, 47%, 19%) Midnight Blue
#334619 rgb(51, 70, 25) hsl(85, 47%, 19%) Army Green
#462c19 rgb(70, 44, 25) hsl(25, 47%, 19%) Bistre
#19462c rgb(25, 70, 44) hsl(145, 47%, 19%) British Racing Green