#310ea4 ≈ Zaffre
#310ea4 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 19.22% red, 5.49% green and 64.31% blue; printed in CMYK it uses 70.12% cyan, 91.46% magenta, 0% yellow and 35.69% black. Its hue angle is 254°, with 84.27% saturation and 34.9% 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 corporate identities. White text on this color reaches a contrast ratio of 12.14:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.84.
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.0365 |
Shades
#310ea4 mixed progressively with black.
Tints
#310ea4 mixed progressively with white.
Tones
#310ea4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-310ea4 {
color: #310ea4;
}
.bg-310ea4 {
background-color: #310ea4;
color: #ffffff;
}
.border-310ea4 {
border: 2px solid #310ea4;
}
:root {
--color-primary: #310ea4;
--color-primary-rgb: 49 14 164;
--color-primary-hsl: 254 84% 35%;
}
.gradient-310ea4 {
background: linear-gradient(135deg, #310ea4, #7c0ea4);
}
.shadow-310ea4 {
box-shadow: 0 8px 24px rgb(49 14 164 / 0.35);
}
Zaffre
#310ea4 rgb(49, 14, 164) hsl(254, 84%, 35%) Zaffre
#81a40e rgb(129, 164, 14) hsl(74, 84%, 35%) Apple Green
#a4310e rgb(164, 49, 14) hsl(14, 84%, 35%) Rufous
#0ea431 rgb(14, 164, 49) hsl(134, 84%, 35%) Islamic Green