#321f46 ≈ Midnight Blue
#321f46 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 19.61% red, 12.16% green and 27.45% blue; printed in CMYK it uses 28.57% cyan, 55.71% magenta, 0% yellow and 72.55% black. Its hue angle is 269.23°, with 38.61% saturation and 19.8% 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 12.06.
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
#321f46 mixed progressively with black.
Tints
#321f46 mixed progressively with white.
Tones
#321f46 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-321f46 {
color: #321f46;
}
.bg-321f46 {
background-color: #321f46;
color: #ffffff;
}
.border-321f46 {
border: 2px solid #321f46;
}
:root {
--color-primary: #321f46;
--color-primary-rgb: 50 31 70;
--color-primary-hsl: 269 39% 20%;
}
.gradient-321f46 {
background: linear-gradient(135deg, #321f46, #451f46);
}
.shadow-321f46 {
box-shadow: 0 8px 24px rgb(50 31 70 / 0.35);
}
Midnight Blue
#321f46 rgb(50, 31, 70) hsl(269, 39%, 20%) Midnight Blue
#33461f rgb(51, 70, 31) hsl(89, 39%, 20%) Army Green
#46321f rgb(70, 50, 31) hsl(29, 39%, 20%) Bistre
#1f4632 rgb(31, 70, 50) hsl(149, 39%, 20%) British Racing Green