#040fb1 ≈ Zaffre
#040fb1 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 69.41% blue; printed in CMYK it uses 97.74% cyan, 91.53% magenta, 0% yellow and 30.59% black. Its hue angle is 236.18°, with 95.58% saturation and 35.49% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 12.29:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 1.3.
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.0354 |
Shades
#040fb1 mixed progressively with black.
Tints
#040fb1 mixed progressively with white.
Tones
#040fb1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040fb1 {
color: #040fb1;
}
.bg-040fb1 {
background-color: #040fb1;
color: #ffffff;
}
.border-040fb1 {
border: 2px solid #040fb1;
}
:root {
--color-primary: #040fb1;
--color-primary-rgb: 4 15 177;
--color-primary-hsl: 236 96% 35%;
}
.gradient-040fb1 {
background: linear-gradient(135deg, #040fb1, #4f04b1);
}
.shadow-040fb1 {
box-shadow: 0 8px 24px rgb(4 15 177 / 0.35);
}
Zaffre
#040fb1 rgb(4, 15, 177) hsl(236, 96%, 35%) Zaffre
#b1a604 rgb(177, 166, 4) hsl(56, 96%, 35%) Brass
#b1040f rgb(177, 4, 15) hsl(356, 96%, 35%) Cornell Red
#0fb104 rgb(15, 177, 4) hsl(116, 96%, 35%) Kelly Green