#2c1958 ≈ Midnight Blue
#2c1958 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 34.51% blue; printed in CMYK it uses 50% cyan, 71.59% magenta, 0% yellow and 65.49% black. Its hue angle is 258.1°, with 55.75% saturation and 22.16% 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.14:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.95.
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.0194 |
Shades
#2c1958 mixed progressively with black.
Tints
#2c1958 mixed progressively with white.
Tones
#2c1958 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c1958 {
color: #2c1958;
}
.bg-2c1958 {
background-color: #2c1958;
color: #ffffff;
}
.border-2c1958 {
border: 2px solid #2c1958;
}
:root {
--color-primary: #2c1958;
--color-primary-rgb: 44 25 88;
--color-primary-hsl: 258 56% 22%;
}
.gradient-2c1958 {
background: linear-gradient(135deg, #2c1958, #4c1958);
}
.shadow-2c1958 {
box-shadow: 0 8px 24px rgb(44 25 88 / 0.35);
}
Midnight Blue
#2c1958 rgb(44, 25, 88) hsl(258, 56%, 22%) Midnight Blue
#455819 rgb(69, 88, 25) hsl(78, 56%, 22%) Army Green
#582c19 rgb(88, 44, 25) hsl(18, 56%, 22%) Caput Mortuum
#19582c rgb(25, 88, 44) hsl(138, 56%, 22%) Hunter Green