#1f032d ≈ Midnight Blue
#1f032d 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 17.65% blue; printed in CMYK it uses 31.11% cyan, 93.33% magenta, 0% yellow and 82.35% black. Its hue angle is 280°, with 87.5% saturation and 9.41% 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.93:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 14.3.
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.0055 |
Shades
#1f032d mixed progressively with black.
Tints
#1f032d mixed progressively with white.
Tones
#1f032d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1f032d {
color: #1f032d;
}
.bg-1f032d {
background-color: #1f032d;
color: #ffffff;
}
.border-1f032d {
border: 2px solid #1f032d;
}
:root {
--color-primary: #1f032d;
--color-primary-rgb: 31 3 45;
--color-primary-hsl: 280 88% 9%;
}
.gradient-1f032d {
background: linear-gradient(135deg, #1f032d, #2d0326);
}
.shadow-1f032d {
box-shadow: 0 8px 24px rgb(31 3 45 / 0.35);
}
Midnight Blue
#1f032d rgb(31, 3, 45) hsl(280, 88%, 9%) Midnight Blue
#112d03 rgb(17, 45, 3) hsl(100, 88%, 9%) Phthalo Green
#2d1f03 rgb(45, 31, 3) hsl(40, 88%, 9%) Bistre
#032d1f rgb(3, 45, 31) hsl(160, 88%, 9%) Phthalo Green