#040fac ≈ Zaffre
#040fac is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 5.88% green and 67.45% blue; printed in CMYK it uses 97.67% cyan, 91.28% magenta, 0% yellow and 32.55% black. Its hue angle is 236.07°, 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.58:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 0.83.
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.0335 |
Shades
#040fac mixed progressively with black.
Tints
#040fac mixed progressively with white.
Tones
#040fac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040fac {
color: #040fac;
}
.bg-040fac {
background-color: #040fac;
color: #ffffff;
}
.border-040fac {
border: 2px solid #040fac;
}
:root {
--color-primary: #040fac;
--color-primary-rgb: 4 15 172;
--color-primary-hsl: 236 95% 35%;
}
.gradient-040fac {
background: linear-gradient(135deg, #040fac, #4d04ac);
}
.shadow-040fac {
box-shadow: 0 8px 24px rgb(4 15 172 / 0.35);
}
Zaffre
#040fac rgb(4, 15, 172) hsl(236, 95%, 35%) Zaffre
#aca104 rgb(172, 161, 4) hsl(56, 95%, 35%) Brass
#ac040f rgb(172, 4, 15) hsl(356, 95%, 35%) Cornell Red
#0fac04 rgb(15, 172, 4) hsl(116, 95%, 35%) Kelly Green