#041f8f ≈ Imperial Blue
#041f8f is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 12.16% green and 56.08% blue; printed in CMYK it uses 97.2% cyan, 78.32% magenta, 0% yellow and 43.92% black. Its hue angle is 228.35°, with 94.56% saturation and 28.82% 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 13.14:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 1.27.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0299 |
Shades
#041f8f mixed progressively with black.
Tints
#041f8f mixed progressively with white.
Tones
#041f8f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-041f8f {
color: #041f8f;
}
.bg-041f8f {
background-color: #041f8f;
color: #ffffff;
}
.border-041f8f {
border: 2px solid #041f8f;
}
:root {
--color-primary: #041f8f;
--color-primary-rgb: 4 31 143;
--color-primary-hsl: 228 95% 29%;
}
.gradient-041f8f {
background: linear-gradient(135deg, #041f8f, #2f048f);
}
.shadow-041f8f {
box-shadow: 0 8px 24px rgb(4 31 143 / 0.35);
}
Imperial Blue
#041f8f rgb(4, 31, 143) hsl(228, 95%, 29%) Imperial Blue
#8f7404 rgb(143, 116, 4) hsl(48, 95%, 29%) Olive
#8f041f rgb(143, 4, 31) hsl(348, 95%, 29%) Carmine
#1f8f04 rgb(31, 143, 4) hsl(108, 95%, 29%) Islamic Green