#1f0a4d ≈ Midnight Blue
#1f0a4d is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 12.16% red, 3.92% green and 30.2% blue; printed in CMYK it uses 59.74% cyan, 87.01% magenta, 0% yellow and 69.8% black. Its hue angle is 258.81°, with 77.01% saturation and 17.06% 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 17.37:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.96.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0104 |
Shades
#1f0a4d mixed progressively with black.
Tints
#1f0a4d mixed progressively with white.
Tones
#1f0a4d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1f0a4d {
color: #1f0a4d;
}
.bg-1f0a4d {
background-color: #1f0a4d;
color: #ffffff;
}
.border-1f0a4d {
border: 2px solid #1f0a4d;
}
:root {
--color-primary: #1f0a4d;
--color-primary-rgb: 31 10 77;
--color-primary-hsl: 259 77% 17%;
}
.gradient-1f0a4d {
background: linear-gradient(135deg, #1f0a4d, #410a4d);
}
.shadow-1f0a4d {
box-shadow: 0 8px 24px rgb(31 10 77 / 0.35);
}
Midnight Blue
#1f0a4d rgb(31, 10, 77) hsl(259, 77%, 17%) Midnight Blue
#384d0a rgb(56, 77, 10) hsl(79, 77%, 17%) Army Green
#4d1f0a rgb(77, 31, 10) hsl(19, 77%, 17%) Caput Mortuum
#0a4d1f rgb(10, 77, 31) hsl(139, 77%, 17%) British Racing Green