#2c155d ≈ Midnight Blue
#2c155d is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 17.25% red, 8.24% green and 36.47% blue; printed in CMYK it uses 52.69% cyan, 77.42% magenta, 0% yellow and 63.53% black. Its hue angle is 259.17°, with 63.16% saturation and 22.35% 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.3:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.99.
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.0186 |
Shades
#2c155d mixed progressively with black.
Tints
#2c155d mixed progressively with white.
Tones
#2c155d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c155d {
color: #2c155d;
}
.bg-2c155d {
background-color: #2c155d;
color: #ffffff;
}
.border-2c155d {
border: 2px solid #2c155d;
}
:root {
--color-primary: #2c155d;
--color-primary-rgb: 44 21 93;
--color-primary-hsl: 259 63% 22%;
}
.gradient-2c155d {
background: linear-gradient(135deg, #2c155d, #50155d);
}
.shadow-2c155d {
box-shadow: 0 8px 24px rgb(44 21 93 / 0.35);
}
Midnight Blue
#2c155d rgb(44, 21, 93) hsl(259, 63%, 22%) Midnight Blue
#465d15 rgb(70, 93, 21) hsl(79, 63%, 22%) Army Green
#5d2c15 rgb(93, 44, 21) hsl(19, 63%, 22%) Caput Mortuum
#155d2c rgb(21, 93, 44) hsl(139, 63%, 22%) Cadmium Green