#340faa ≈ Zaffre
#340faa 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.88% green and 66.67% blue; printed in CMYK it uses 69.41% cyan, 91.18% magenta, 0% yellow and 33.33% black. Its hue angle is 254.32°, with 83.78% saturation and 36.27% 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.7:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.12.
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.0397 |
Shades
#340faa mixed progressively with black.
Tints
#340faa mixed progressively with white.
Tones
#340faa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340faa {
color: #340faa;
}
.bg-340faa {
background-color: #340faa;
color: #ffffff;
}
.border-340faa {
border: 2px solid #340faa;
}
:root {
--color-primary: #340faa;
--color-primary-rgb: 52 15 170;
--color-primary-hsl: 254 84% 36%;
}
.gradient-340faa {
background: linear-gradient(135deg, #340faa, #810faa);
}
.shadow-340faa {
box-shadow: 0 8px 24px rgb(52 15 170 / 0.35);
}
Zaffre
#340faa rgb(52, 15, 170) hsl(254, 84%, 36%) Zaffre
#85aa0f rgb(133, 170, 15) hsl(74, 84%, 36%) Apple Green
#aa340f rgb(170, 52, 15) hsl(14, 84%, 36%) Rufous
#0faa34 rgb(15, 170, 52) hsl(134, 84%, 36%) Kelly Green