#040fa3 ≈ Zaffre
#040fa3 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 63.92% blue; printed in CMYK it uses 97.55% cyan, 90.8% magenta, 0% yellow and 36.08% black. Its hue angle is 235.85°, with 95.21% saturation and 32.75% 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 13.11:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.02.
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.0301 |
Shades
#040fa3 mixed progressively with black.
Tints
#040fa3 mixed progressively with white.
Tones
#040fa3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040fa3 {
color: #040fa3;
}
.bg-040fa3 {
background-color: #040fa3;
color: #ffffff;
}
.border-040fa3 {
border: 2px solid #040fa3;
}
:root {
--color-primary: #040fa3;
--color-primary-rgb: 4 15 163;
--color-primary-hsl: 236 95% 33%;
}
.gradient-040fa3 {
background: linear-gradient(135deg, #040fa3, #4904a3);
}
.shadow-040fa3 {
box-shadow: 0 8px 24px rgb(4 15 163 / 0.35);
}
Zaffre
#040fa3 rgb(4, 15, 163) hsl(236, 95%, 33%) Zaffre
#a39804 rgb(163, 152, 4) hsl(56, 95%, 33%) Brass
#a3040f rgb(163, 4, 15) hsl(356, 95%, 33%) Sangria
#0fa304 rgb(15, 163, 4) hsl(116, 95%, 33%) Islamic Green