#040bac ≈ Zaffre
#040bac is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 4.31% green and 67.45% blue; printed in CMYK it uses 97.67% cyan, 93.6% magenta, 0% yellow and 32.55% black. Its hue angle is 237.5°, with 95.45% saturation and 34.51% 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 corporate identities. White text on this color reaches a contrast ratio of 12.74:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.19.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0324 |
Shades
#040bac mixed progressively with black.
Tints
#040bac mixed progressively with white.
Tones
#040bac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040bac {
color: #040bac;
}
.bg-040bac {
background-color: #040bac;
color: #ffffff;
}
.border-040bac {
border: 2px solid #040bac;
}
:root {
--color-primary: #040bac;
--color-primary-rgb: 4 11 172;
--color-primary-hsl: 238 95% 35%;
}
.gradient-040bac {
background: linear-gradient(135deg, #040bac, #5104ac);
}
.shadow-040bac {
box-shadow: 0 8px 24px rgb(4 11 172 / 0.35);
}
Zaffre
#040bac rgb(4, 11, 172) hsl(238, 95%, 35%) Zaffre
#aca504 rgb(172, 165, 4) hsl(58, 95%, 35%) Brass
#ac040b rgb(172, 4, 11) hsl(358, 95%, 35%) Rufous
#0bac04 rgb(11, 172, 4) hsl(118, 95%, 35%) Kelly Green