#40239b ≈ Zaffre
#40239b is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 13.73% green and 60.78% blue; printed in CMYK it uses 58.71% cyan, 77.42% magenta, 0% yellow and 39.22% black. Its hue angle is 254.5°, with 63.16% saturation and 37.25% 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.87:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 5.37.
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.0466 |
Shades
#40239b mixed progressively with black.
Tints
#40239b mixed progressively with white.
Tones
#40239b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40239b {
color: #40239b;
}
.bg-40239b {
background-color: #40239b;
color: #ffffff;
}
.border-40239b {
border: 2px solid #40239b;
}
:root {
--color-primary: #40239b;
--color-primary-rgb: 64 35 155;
--color-primary-hsl: 255 63% 37%;
}
.gradient-40239b {
background: linear-gradient(135deg, #40239b, #7c239b);
}
.shadow-40239b {
box-shadow: 0 8px 24px rgb(64 35 155 / 0.35);
}
Zaffre
#40239b rgb(64, 35, 155) hsl(255, 63%, 37%) Zaffre
#7e9b23 rgb(126, 155, 35) hsl(75, 63%, 37%) Olive Drab
#9b4023 rgb(155, 64, 35) hsl(15, 63%, 37%) Chestnut
#239b40 rgb(35, 155, 64) hsl(135, 63%, 37%) Shamrock Green