#400a9f ≈ Zaffre
#400a9f is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 25.1% red, 3.92% green and 62.35% blue; printed in CMYK it uses 59.75% cyan, 93.71% magenta, 0% yellow and 37.65% black. Its hue angle is 261.74°, with 88.17% saturation and 33.14% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and corporate identities. White text on this color reaches a contrast ratio of 11.92:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 4.7.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0381 |
Shades
#400a9f mixed progressively with black.
Tints
#400a9f mixed progressively with white.
Tones
#400a9f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a9f {
color: #400a9f;
}
.bg-400a9f {
background-color: #400a9f;
color: #ffffff;
}
.border-400a9f {
border: 2px solid #400a9f;
}
:root {
--color-primary: #400a9f;
--color-primary-rgb: 64 10 159;
--color-primary-hsl: 262 88% 33%;
}
.gradient-400a9f {
background: linear-gradient(135deg, #400a9f, #8b0a9f);
}
.shadow-400a9f {
box-shadow: 0 8px 24px rgb(64 10 159 / 0.35);
}
Zaffre
#400a9f rgb(64, 10, 159) hsl(262, 88%, 33%) Zaffre
#699f0a rgb(105, 159, 10) hsl(82, 88%, 33%) Olive Drab
#9f400a rgb(159, 64, 10) hsl(22, 88%, 33%) Saddle Brown
#0a9f40 rgb(10, 159, 64) hsl(142, 88%, 33%) Shamrock Green