#0400a2 ≈ Zaffre
#0400a2 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 0% green and 63.53% blue; printed in CMYK it uses 97.53% cyan, 100% magenta, 0% yellow and 36.47% black. Its hue angle is 241.48°, with 100% saturation and 31.76% 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.75:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.58.
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.0263 |
Shades
#0400a2 mixed progressively with black.
Tints
#0400a2 mixed progressively with white.
Tones
#0400a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0400a2 {
color: #0400a2;
}
.bg-0400a2 {
background-color: #0400a2;
color: #ffffff;
}
.border-0400a2 {
border: 2px solid #0400a2;
}
:root {
--color-primary: #0400a2;
--color-primary-rgb: 4 0 162;
--color-primary-hsl: 241 100% 32%;
}
.gradient-0400a2 {
background: linear-gradient(135deg, #0400a2, #5500a2);
}
.shadow-0400a2 {
box-shadow: 0 8px 24px rgb(4 0 162 / 0.35);
}
Zaffre
#0400a2 rgb(4, 0, 162) hsl(241, 100%, 32%) Zaffre
#9ea200 rgb(158, 162, 0) hsl(61, 100%, 32%) Brass
#a20400 rgb(162, 4, 0) hsl(1, 100%, 32%) Rufous
#00a204 rgb(0, 162, 4) hsl(121, 100%, 32%) Islamic Green