#2a1c5c ≈ Midnight Blue
#2a1c5c is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 16.47% red, 10.98% green and 36.08% blue; printed in CMYK it uses 54.35% cyan, 69.57% magenta, 0% yellow and 63.92% black. Its hue angle is 253.13°, with 53.33% saturation and 23.53% 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.8:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.06.
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.021 |
Shades
#2a1c5c mixed progressively with black.
Tints
#2a1c5c mixed progressively with white.
Tones
#2a1c5c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a1c5c {
color: #2a1c5c;
}
.bg-2a1c5c {
background-color: #2a1c5c;
color: #ffffff;
}
.border-2a1c5c {
border: 2px solid #2a1c5c;
}
:root {
--color-primary: #2a1c5c;
--color-primary-rgb: 42 28 92;
--color-primary-hsl: 253 53% 24%;
}
.gradient-2a1c5c {
background: linear-gradient(135deg, #2a1c5c, #4a1c5c);
}
.shadow-2a1c5c {
box-shadow: 0 8px 24px rgb(42 28 92 / 0.35);
}
Midnight Blue
#2a1c5c rgb(42, 28, 92) hsl(253, 53%, 24%) Midnight Blue
#4e5c1c rgb(78, 92, 28) hsl(73, 53%, 24%) Army Green
#5c2a1c rgb(92, 42, 28) hsl(13, 53%, 24%) Caput Mortuum
#1c5c2a rgb(28, 92, 42) hsl(133, 53%, 24%) Hunter Green