#340dae ≈ Zaffre
#340dae is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20.39% red, 5.1% green and 68.24% blue; printed in CMYK it uses 70.11% cyan, 92.53% magenta, 0% yellow and 31.76% black. Its hue angle is 254.53°, with 86.1% saturation and 36.67% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 11.57:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.27.
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.0407 |
Shades
#340dae mixed progressively with black.
Tints
#340dae mixed progressively with white.
Tones
#340dae mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340dae {
color: #340dae;
}
.bg-340dae {
background-color: #340dae;
color: #ffffff;
}
.border-340dae {
border: 2px solid #340dae;
}
:root {
--color-primary: #340dae;
--color-primary-rgb: 52 13 174;
--color-primary-hsl: 255 86% 37%;
}
.gradient-340dae {
background: linear-gradient(135deg, #340dae, #850dae);
}
.shadow-340dae {
box-shadow: 0 8px 24px rgb(52 13 174 / 0.35);
}
Zaffre
#340dae rgb(52, 13, 174) hsl(255, 86%, 37%) Zaffre
#87ae0d rgb(135, 174, 13) hsl(75, 86%, 37%) Apple Green
#ae340d rgb(174, 52, 13) hsl(15, 86%, 37%) Rust
#0dae34 rgb(13, 174, 52) hsl(135, 86%, 37%) Kelly Green