#2d0fa7 ≈ Zaffre
#2d0fa7 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 17.65% red, 5.88% green and 65.49% blue; printed in CMYK it uses 73.05% cyan, 91.02% magenta, 0% yellow and 34.51% black. Its hue angle is 251.84°, with 83.52% saturation and 35.69% 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 12.08:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.43.
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.0369 |
Shades
#2d0fa7 mixed progressively with black.
Tints
#2d0fa7 mixed progressively with white.
Tones
#2d0fa7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d0fa7 {
color: #2d0fa7;
}
.bg-2d0fa7 {
background-color: #2d0fa7;
color: #ffffff;
}
.border-2d0fa7 {
border: 2px solid #2d0fa7;
}
:root {
--color-primary: #2d0fa7;
--color-primary-rgb: 45 15 167;
--color-primary-hsl: 252 84% 36%;
}
.gradient-2d0fa7 {
background: linear-gradient(135deg, #2d0fa7, #790fa7);
}
.shadow-2d0fa7 {
box-shadow: 0 8px 24px rgb(45 15 167 / 0.35);
}
Zaffre
#2d0fa7 rgb(45, 15, 167) hsl(252, 84%, 36%) Zaffre
#89a70f rgb(137, 167, 15) hsl(72, 84%, 36%) Apple Green
#a72d0f rgb(167, 45, 15) hsl(12, 84%, 36%) Rufous
#0fa72d rgb(15, 167, 45) hsl(132, 84%, 36%) Islamic Green