#331fa5 ≈ Zaffre
#331fa5 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 64.71% blue; printed in CMYK it uses 69.09% cyan, 81.21% magenta, 0% yellow and 35.29% black. Its hue angle is 248.96°, with 68.37% saturation and 38.43% 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.17:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.39.
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.044 |
Shades
#331fa5 mixed progressively with black.
Tints
#331fa5 mixed progressively with white.
Tones
#331fa5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331fa5 {
color: #331fa5;
}
.bg-331fa5 {
background-color: #331fa5;
color: #ffffff;
}
.border-331fa5 {
border: 2px solid #331fa5;
}
:root {
--color-primary: #331fa5;
--color-primary-rgb: 51 31 165;
--color-primary-hsl: 249 68% 38%;
}
.gradient-331fa5 {
background: linear-gradient(135deg, #331fa5, #761fa5);
}
.shadow-331fa5 {
box-shadow: 0 8px 24px rgb(51 31 165 / 0.35);
}
Zaffre
#331fa5 rgb(51, 31, 165) hsl(249, 68%, 38%) Zaffre
#91a51f rgb(145, 165, 31) hsl(69, 68%, 38%) Apple Green
#a5331f rgb(165, 51, 31) hsl(9, 68%, 38%) Rufous
#1fa533 rgb(31, 165, 51) hsl(129, 68%, 38%) Islamic Green