#321e4a ≈ Midnight Blue
#321e4a is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 19.61% red, 11.76% green and 29.02% blue; printed in CMYK it uses 32.43% cyan, 59.46% magenta, 0% yellow and 70.98% black. Its hue angle is 267.27°, with 42.31% saturation and 20.39% 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.79:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 10.75.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.021 |
Shades
#321e4a mixed progressively with black.
Tints
#321e4a mixed progressively with white.
Tones
#321e4a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-321e4a {
color: #321e4a;
}
.bg-321e4a {
background-color: #321e4a;
color: #ffffff;
}
.border-321e4a {
border: 2px solid #321e4a;
}
:root {
--color-primary: #321e4a;
--color-primary-rgb: 50 30 74;
--color-primary-hsl: 267 42% 20%;
}
.gradient-321e4a {
background: linear-gradient(135deg, #321e4a, #481e4a);
}
.shadow-321e4a {
box-shadow: 0 8px 24px rgb(50 30 74 / 0.35);
}
Midnight Blue
#321e4a rgb(50, 30, 74) hsl(267, 42%, 20%) Midnight Blue
#364a1e rgb(54, 74, 30) hsl(87, 42%, 20%) Army Green
#4a321e rgb(74, 50, 30) hsl(27, 42%, 20%) Bistre
#1e4a32 rgb(30, 74, 50) hsl(147, 42%, 20%) British Racing Green