#321f4b ≈ Midnight Blue
#321f4b is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 19.61% red, 12.16% green and 29.41% blue; printed in CMYK it uses 33.33% cyan, 58.67% magenta, 0% yellow and 70.59% black. Its hue angle is 265.91°, with 41.51% saturation and 20.78% 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.65:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 10.62.
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.0217 |
Shades
#321f4b mixed progressively with black.
Tints
#321f4b mixed progressively with white.
Tones
#321f4b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-321f4b {
color: #321f4b;
}
.bg-321f4b {
background-color: #321f4b;
color: #ffffff;
}
.border-321f4b {
border: 2px solid #321f4b;
}
:root {
--color-primary: #321f4b;
--color-primary-rgb: 50 31 75;
--color-primary-hsl: 266 42% 21%;
}
.gradient-321f4b {
background: linear-gradient(135deg, #321f4b, #481f4b);
}
.shadow-321f4b {
box-shadow: 0 8px 24px rgb(50 31 75 / 0.35);
}
Midnight Blue
#321f4b rgb(50, 31, 75) hsl(266, 42%, 21%) Midnight Blue
#384b1f rgb(56, 75, 31) hsl(86, 42%, 21%) Army Green
#4b321f rgb(75, 50, 31) hsl(26, 42%, 21%) Bistre
#1f4b32 rgb(31, 75, 50) hsl(146, 42%, 21%) British Racing Green