#401fa5 ≈ Zaffre
#401fa5 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 25.1% red, 12.16% green and 64.71% blue; printed in CMYK it uses 61.21% cyan, 81.21% magenta, 0% yellow and 35.29% black. Its hue angle is 254.78°, with 68.37% saturation and 38.43% 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 brand accents. White text on this color reaches a contrast ratio of 10.73:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 4.76.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0479 |
Shades
#401fa5 mixed progressively with black.
Tints
#401fa5 mixed progressively with white.
Tones
#401fa5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-401fa5 {
color: #401fa5;
}
.bg-401fa5 {
background-color: #401fa5;
color: #ffffff;
}
.border-401fa5 {
border: 2px solid #401fa5;
}
:root {
--color-primary: #401fa5;
--color-primary-rgb: 64 31 165;
--color-primary-hsl: 255 68% 38%;
}
.gradient-401fa5 {
background: linear-gradient(135deg, #401fa5, #831fa5);
}
.shadow-401fa5 {
box-shadow: 0 8px 24px rgb(64 31 165 / 0.35);
}
Zaffre
#401fa5 rgb(64, 31, 165) hsl(255, 68%, 38%) Zaffre
#84a51f rgb(132, 165, 31) hsl(75, 68%, 38%) Apple Green
#a5401f rgb(165, 64, 31) hsl(15, 68%, 38%) Rust
#1fa540 rgb(31, 165, 64) hsl(135, 68%, 38%) Shamrock Green