#040aaa ≈ Zaffre
#040aaa is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 3.92% green and 66.67% blue; printed in CMYK it uses 97.65% cyan, 94.12% magenta, 0% yellow and 33.33% black. Its hue angle is 237.83°, with 95.4% saturation and 34.12% 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.89:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.24.
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.0315 |
Shades
#040aaa mixed progressively with black.
Tints
#040aaa mixed progressively with white.
Tones
#040aaa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040aaa {
color: #040aaa;
}
.bg-040aaa {
background-color: #040aaa;
color: #ffffff;
}
.border-040aaa {
border: 2px solid #040aaa;
}
:root {
--color-primary: #040aaa;
--color-primary-rgb: 4 10 170;
--color-primary-hsl: 238 95% 34%;
}
.gradient-040aaa {
background: linear-gradient(135deg, #040aaa, #5104aa);
}
.shadow-040aaa {
box-shadow: 0 8px 24px rgb(4 10 170 / 0.35);
}
Zaffre
#040aaa rgb(4, 10, 170) hsl(238, 95%, 34%) Zaffre
#aaa404 rgb(170, 164, 4) hsl(58, 95%, 34%) Brass
#aa040a rgb(170, 4, 10) hsl(358, 95%, 34%) Rufous
#0aaa04 rgb(10, 170, 4) hsl(118, 95%, 34%) Kelly Green