#040cac ≈ Zaffre
#040cac 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.71% green and 67.45% blue; printed in CMYK it uses 97.67% cyan, 93.02% magenta, 0% yellow and 32.55% black. Its hue angle is 237.14°, 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.7:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.1.
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.0327 |
Shades
#040cac mixed progressively with black.
Tints
#040cac mixed progressively with white.
Tones
#040cac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040cac {
color: #040cac;
}
.bg-040cac {
background-color: #040cac;
color: #ffffff;
}
.border-040cac {
border: 2px solid #040cac;
}
:root {
--color-primary: #040cac;
--color-primary-rgb: 4 12 172;
--color-primary-hsl: 237 95% 35%;
}
.gradient-040cac {
background: linear-gradient(135deg, #040cac, #5004ac);
}
.shadow-040cac {
box-shadow: 0 8px 24px rgb(4 12 172 / 0.35);
}
Zaffre
#040cac rgb(4, 12, 172) hsl(237, 95%, 35%) Zaffre
#aca404 rgb(172, 164, 4) hsl(57, 95%, 35%) Brass
#ac040c rgb(172, 4, 12) hsl(357, 95%, 35%) Rufous
#0cac04 rgb(12, 172, 4) hsl(117, 95%, 35%) Kelly Green