#1a004d ≈ Midnight Blue
#1a004d is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 10.2% red, 0% green and 30.2% blue; printed in CMYK it uses 66.23% cyan, 100% magenta, 0% yellow and 69.8% black. Its hue angle is 260.26°, with 100% saturation and 15.1% 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.24:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.73.
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.0076 |
Shades
#1a004d mixed progressively with black.
Tints
#1a004d mixed progressively with white.
Tones
#1a004d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1a004d {
color: #1a004d;
}
.bg-1a004d {
background-color: #1a004d;
color: #ffffff;
}
.border-1a004d {
border: 2px solid #1a004d;
}
:root {
--color-primary: #1a004d;
--color-primary-rgb: 26 0 77;
--color-primary-hsl: 260 100% 15%;
}
.gradient-1a004d {
background: linear-gradient(135deg, #1a004d, #41004d);
}
.shadow-1a004d {
box-shadow: 0 8px 24px rgb(26 0 77 / 0.35);
}
Midnight Blue
#1a004d rgb(26, 0, 77) hsl(260, 100%, 15%) Midnight Blue
#334d00 rgb(51, 77, 0) hsl(80, 100%, 15%) Army Green
#4d1a00 rgb(77, 26, 0) hsl(20, 100%, 15%) Caput Mortuum
#004d1a rgb(0, 77, 26) hsl(140, 100%, 15%) British Racing Green