#310cb2 ≈ Zaffre
#310cb2 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 19.22% red, 4.71% green and 69.8% blue; printed in CMYK it uses 72.47% cyan, 93.26% magenta, 0% yellow and 30.2% black. Its hue angle is 253.37°, with 87.37% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 11.5:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.23.
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.0413 |
Shades
#310cb2 mixed progressively with black.
Tints
#310cb2 mixed progressively with white.
Tones
#310cb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-310cb2 {
color: #310cb2;
}
.bg-310cb2 {
background-color: #310cb2;
color: #ffffff;
}
.border-310cb2 {
border: 2px solid #310cb2;
}
:root {
--color-primary: #310cb2;
--color-primary-rgb: 49 12 178;
--color-primary-hsl: 253 87% 37%;
}
.gradient-310cb2 {
background: linear-gradient(135deg, #310cb2, #840cb2);
}
.shadow-310cb2 {
box-shadow: 0 8px 24px rgb(49 12 178 / 0.35);
}
Zaffre
#310cb2 rgb(49, 12, 178) hsl(253, 87%, 37%) Zaffre
#8db20c rgb(141, 178, 12) hsl(73, 87%, 37%) Apple Green
#b2310c rgb(178, 49, 12) hsl(13, 87%, 37%) Rust
#0cb231 rgb(12, 178, 49) hsl(133, 87%, 37%) Kelly Green