#01004e ≈ Midnight Blue
#01004e is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 0.39% red, 0% green and 30.59% blue; printed in CMYK it uses 98.72% cyan, 100% magenta, 0% yellow and 69.41% black. Its hue angle is 240.77°, with 100% saturation and 15.29% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 18.9:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0056 |
Shades
#01004e mixed progressively with black.
Tints
#01004e mixed progressively with white.
Tones
#01004e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-01004e {
color: #01004e;
}
.bg-01004e {
background-color: #01004e;
color: #ffffff;
}
.border-01004e {
border: 2px solid #01004e;
}
:root {
--color-primary: #01004e;
--color-primary-rgb: 1 0 78;
--color-primary-hsl: 241 100% 15%;
}
.gradient-01004e {
background: linear-gradient(135deg, #01004e, #28004e);
}
.shadow-01004e {
box-shadow: 0 8px 24px rgb(1 0 78 / 0.35);
}
Midnight Blue
#01004e rgb(1, 0, 78) hsl(241, 100%, 15%) Midnight Blue
#4d4e00 rgb(77, 78, 0) hsl(61, 100%, 15%) Army Green
#4e0100 rgb(78, 1, 0) hsl(1, 100%, 15%) Rosewood
#004e01 rgb(0, 78, 1) hsl(121, 100%, 15%) Lincoln Green