#1f052d ≈ Midnight Blue
#1f052d is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 12.16% red, 1.96% green and 17.65% blue; printed in CMYK it uses 31.11% cyan, 88.89% magenta, 0% yellow and 82.35% black. Its hue angle is 279°, with 80% saturation and 9.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 18.79:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 14.38.
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.0059 |
Shades
#1f052d mixed progressively with black.
Tints
#1f052d mixed progressively with white.
Tones
#1f052d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1f052d {
color: #1f052d;
}
.bg-1f052d {
background-color: #1f052d;
color: #ffffff;
}
.border-1f052d {
border: 2px solid #1f052d;
}
:root {
--color-primary: #1f052d;
--color-primary-rgb: 31 5 45;
--color-primary-hsl: 279 80% 10%;
}
.gradient-1f052d {
background: linear-gradient(135deg, #1f052d, #2d0527);
}
.shadow-1f052d {
box-shadow: 0 8px 24px rgb(31 5 45 / 0.35);
}
Midnight Blue
#1f052d rgb(31, 5, 45) hsl(279, 80%, 10%) Midnight Blue
#132d05 rgb(19, 45, 5) hsl(99, 80%, 10%) Phthalo Green
#2d1f05 rgb(45, 31, 5) hsl(39, 80%, 10%) Bistre
#052d1f rgb(5, 45, 31) hsl(159, 80%, 10%) Phthalo Green