#331fb2 ≈ Zaffre
#331fb2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 12.16% green and 69.8% blue; printed in CMYK it uses 71.35% cyan, 82.58% magenta, 0% yellow and 30.2% black. Its hue angle is 248.16°, with 70.33% saturation and 40.98% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 10.61:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.88.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.049 |
Shades
#331fb2 mixed progressively with black.
Tints
#331fb2 mixed progressively with white.
Tones
#331fb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331fb2 {
color: #331fb2;
}
.bg-331fb2 {
background-color: #331fb2;
color: #ffffff;
}
.border-331fb2 {
border: 2px solid #331fb2;
}
:root {
--color-primary: #331fb2;
--color-primary-rgb: 51 31 178;
--color-primary-hsl: 248 70% 41%;
}
.gradient-331fb2 {
background: linear-gradient(135deg, #331fb2, #7c1fb2);
}
.shadow-331fb2 {
box-shadow: 0 8px 24px rgb(51 31 178 / 0.35);
}
Zaffre
#331fb2 rgb(51, 31, 178) hsl(248, 70%, 41%) Zaffre
#9eb21f rgb(158, 178, 31) hsl(68, 70%, 41%) Apple Green
#b2331f rgb(178, 51, 31) hsl(8, 70%, 41%) Cornell Red
#1fb233 rgb(31, 178, 51) hsl(128, 70%, 41%) Kelly Green