#040e6e ≈ Midnight Blue
#040e6e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 5.49% green and 43.14% blue; printed in CMYK it uses 96.36% cyan, 87.27% magenta, 0% yellow and 56.86% black. Its hue angle is 234.34°, with 92.98% saturation and 22.35% 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 16.24:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.76.
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.0147 |
Shades
#040e6e mixed progressively with black.
Tints
#040e6e mixed progressively with white.
Tones
#040e6e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040e6e {
color: #040e6e;
}
.bg-040e6e {
background-color: #040e6e;
color: #ffffff;
}
.border-040e6e {
border: 2px solid #040e6e;
}
:root {
--color-primary: #040e6e;
--color-primary-rgb: 4 14 110;
--color-primary-hsl: 234 93% 22%;
}
.gradient-040e6e {
background: linear-gradient(135deg, #040e6e, #2f046e);
}
.shadow-040e6e {
box-shadow: 0 8px 24px rgb(4 14 110 / 0.35);
}
Midnight Blue
#040e6e rgb(4, 14, 110) hsl(234, 93%, 22%) Midnight Blue
#6e6404 rgb(110, 100, 4) hsl(54, 93%, 22%) Field Drab
#6e040e rgb(110, 4, 14) hsl(354, 93%, 22%) Rosewood
#0e6e04 rgb(14, 110, 4) hsl(114, 93%, 22%) Pakistan Green