#331fa7 ≈ Zaffre
#331fa7 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 20% red, 12.16% green and 65.49% blue; printed in CMYK it uses 69.46% cyan, 81.44% magenta, 0% yellow and 34.51% black. Its hue angle is 248.82°, with 68.69% saturation and 38.82% 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 11.08:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.41.
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.0447 |
Shades
#331fa7 mixed progressively with black.
Tints
#331fa7 mixed progressively with white.
Tones
#331fa7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331fa7 {
color: #331fa7;
}
.bg-331fa7 {
background-color: #331fa7;
color: #ffffff;
}
.border-331fa7 {
border: 2px solid #331fa7;
}
:root {
--color-primary: #331fa7;
--color-primary-rgb: 51 31 167;
--color-primary-hsl: 249 69% 39%;
}
.gradient-331fa7 {
background: linear-gradient(135deg, #331fa7, #771fa7);
}
.shadow-331fa7 {
box-shadow: 0 8px 24px rgb(51 31 167 / 0.35);
}
Zaffre
#331fa7 rgb(51, 31, 167) hsl(249, 69%, 39%) Zaffre
#93a71f rgb(147, 167, 31) hsl(69, 69%, 39%) Apple Green
#a7331f rgb(167, 51, 31) hsl(9, 69%, 39%) Rufous
#1fa733 rgb(31, 167, 51) hsl(129, 69%, 39%) Kelly Green