#321f45 ≈ Midnight Blue
#321f45 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.06% blue; printed in CMYK it uses 27.54% cyan, 55.07% magenta, 0% yellow and 72.94% black. Its hue angle is 270°, with 38% saturation and 19.61% 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.81:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 12.37.
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.0209 |
Shades
#321f45 mixed progressively with black.
Tints
#321f45 mixed progressively with white.
Tones
#321f45 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-321f45 {
color: #321f45;
}
.bg-321f45 {
background-color: #321f45;
color: #ffffff;
}
.border-321f45 {
border: 2px solid #321f45;
}
:root {
--color-primary: #321f45;
--color-primary-rgb: 50 31 69;
--color-primary-hsl: 270 38% 20%;
}
.gradient-321f45 {
background: linear-gradient(135deg, #321f45, #451f45);
}
.shadow-321f45 {
box-shadow: 0 8px 24px rgb(50 31 69 / 0.35);
}
Midnight Blue
#321f45 rgb(50, 31, 69) hsl(270, 38%, 20%) Midnight Blue
#32451f rgb(50, 69, 31) hsl(90, 38%, 20%) Army Green
#45321f rgb(69, 50, 31) hsl(30, 38%, 20%) Bistre
#1f4532 rgb(31, 69, 50) hsl(150, 38%, 20%) Phthalo Green