#041a7c ≈ Midnight Blue
#041a7c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 10.2% green and 48.63% blue; printed in CMYK it uses 96.77% cyan, 79.03% magenta, 0% yellow and 51.37% black. Its hue angle is 229°, with 93.75% saturation and 25.1% 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 14.54:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.32.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0222 |
Shades
#041a7c mixed progressively with black.
Tints
#041a7c mixed progressively with white.
Tones
#041a7c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-041a7c {
color: #041a7c;
}
.bg-041a7c {
background-color: #041a7c;
color: #ffffff;
}
.border-041a7c {
border: 2px solid #041a7c;
}
:root {
--color-primary: #041a7c;
--color-primary-rgb: 4 26 124;
--color-primary-hsl: 229 94% 25%;
}
.gradient-041a7c {
background: linear-gradient(135deg, #041a7c, #2a047c);
}
.shadow-041a7c {
box-shadow: 0 8px 24px rgb(4 26 124 / 0.35);
}
Midnight Blue
#041a7c rgb(4, 26, 124) hsl(229, 94%, 25%) Midnight Blue
#7c6604 rgb(124, 102, 4) hsl(49, 94%, 25%) Field Drab
#7c041a rgb(124, 4, 26) hsl(349, 94%, 25%) Burgundy
#1a7c04 rgb(26, 124, 4) hsl(109, 94%, 25%) Green