#2c205b ≈ Midnight Blue
#2c205b is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 17.25% red, 12.55% green and 35.69% blue; printed in CMYK it uses 51.65% cyan, 64.84% magenta, 0% yellow and 64.31% black. Its hue angle is 252.2°, with 47.97% 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.34:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0232 |
Shades
#2c205b mixed progressively with black.
Tints
#2c205b mixed progressively with white.
Tones
#2c205b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c205b {
color: #2c205b;
}
.bg-2c205b {
background-color: #2c205b;
color: #ffffff;
}
.border-2c205b {
border: 2px solid #2c205b;
}
:root {
--color-primary: #2c205b;
--color-primary-rgb: 44 32 91;
--color-primary-hsl: 252 48% 24%;
}
.gradient-2c205b {
background: linear-gradient(135deg, #2c205b, #4a205b);
}
.shadow-2c205b {
box-shadow: 0 8px 24px rgb(44 32 91 / 0.35);
}
Midnight Blue
#2c205b rgb(44, 32, 91) hsl(252, 48%, 24%) Midnight Blue
#4f5b20 rgb(79, 91, 32) hsl(72, 48%, 24%) Army Green
#5b2c20 rgb(91, 44, 32) hsl(12, 48%, 24%) Caput Mortuum
#205b2c rgb(32, 91, 44) hsl(132, 48%, 24%) Hunter Green