#040e55 ≈ Midnight Blue
#040e55 is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 5.49% green and 33.33% blue; printed in CMYK it uses 95.29% cyan, 83.53% magenta, 0% yellow and 66.67% black. Its hue angle is 232.59°, with 91.01% saturation and 17.45% 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 17.51:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.96.
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.01 |
Shades
#040e55 mixed progressively with black.
Tints
#040e55 mixed progressively with white.
Tones
#040e55 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040e55 {
color: #040e55;
}
.bg-040e55 {
background-color: #040e55;
color: #ffffff;
}
.border-040e55 {
border: 2px solid #040e55;
}
:root {
--color-primary: #040e55;
--color-primary-rgb: 4 14 85;
--color-primary-hsl: 233 91% 17%;
}
.gradient-040e55 {
background: linear-gradient(135deg, #040e55, #220455);
}
.shadow-040e55 {
box-shadow: 0 8px 24px rgb(4 14 85 / 0.35);
}
Midnight Blue
#040e55 rgb(4, 14, 85) hsl(233, 91%, 17%) Midnight Blue
#554b04 rgb(85, 75, 4) hsl(53, 91%, 17%) Field Drab
#55040e rgb(85, 4, 14) hsl(353, 91%, 17%) Rosewood
#0e5504 rgb(14, 85, 4) hsl(113, 91%, 17%) Lincoln Green