#1f032b ≈ Midnight Blue
#1f032b is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 12.16% red, 1.18% green and 16.86% blue; printed in CMYK it uses 27.91% cyan, 93.02% magenta, 0% yellow and 83.14% black. Its hue angle is 282°, with 86.96% saturation and 9.02% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 18.98:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 14.88.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0053 |
Shades
#1f032b mixed progressively with black.
Tints
#1f032b mixed progressively with white.
Tones
#1f032b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1f032b {
color: #1f032b;
}
.bg-1f032b {
background-color: #1f032b;
color: #ffffff;
}
.border-1f032b {
border: 2px solid #1f032b;
}
:root {
--color-primary: #1f032b;
--color-primary-rgb: 31 3 43;
--color-primary-hsl: 282 87% 9%;
}
.gradient-1f032b {
background: linear-gradient(135deg, #1f032b, #2b0323);
}
.shadow-1f032b {
box-shadow: 0 8px 24px rgb(31 3 43 / 0.35);
}
Midnight Blue
#1f032b rgb(31, 3, 43) hsl(282, 87%, 9%) Midnight Blue
#0f2b03 rgb(15, 43, 3) hsl(102, 87%, 9%) Phthalo Green
#2b1f03 rgb(43, 31, 3) hsl(42, 87%, 9%) Bistre
#032b1f rgb(3, 43, 31) hsl(162, 87%, 9%) Phthalo Green