#1d104f ≈ Midnight Blue
#1d104f is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 11.37% red, 6.27% green and 30.98% blue; printed in CMYK it uses 63.29% cyan, 79.75% magenta, 0% yellow and 69.02% black. Its hue angle is 252.38°, with 66.32% saturation and 18.63% 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 16.95:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.16.
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.012 |
Shades
#1d104f mixed progressively with black.
Tints
#1d104f mixed progressively with white.
Tones
#1d104f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1d104f {
color: #1d104f;
}
.bg-1d104f {
background-color: #1d104f;
color: #ffffff;
}
.border-1d104f {
border: 2px solid #1d104f;
}
:root {
--color-primary: #1d104f;
--color-primary-rgb: 29 16 79;
--color-primary-hsl: 252 66% 19%;
}
.gradient-1d104f {
background: linear-gradient(135deg, #1d104f, #3d104f);
}
.shadow-1d104f {
box-shadow: 0 8px 24px rgb(29 16 79 / 0.35);
}
Midnight Blue
#1d104f rgb(29, 16, 79) hsl(252, 66%, 19%) Midnight Blue
#424f10 rgb(66, 79, 16) hsl(72, 66%, 19%) Army Green
#4f1d10 rgb(79, 29, 16) hsl(12, 66%, 19%) Caput Mortuum
#104f1d rgb(16, 79, 29) hsl(132, 66%, 19%) Lincoln Green