#331db2 ≈ Zaffre
#331db2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 11.37% green and 69.8% blue; printed in CMYK it uses 71.35% cyan, 83.71% magenta, 0% yellow and 30.2% black. Its hue angle is 248.86°, with 71.98% saturation and 40.59% 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.72:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.72.
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.048 |
Shades
#331db2 mixed progressively with black.
Tints
#331db2 mixed progressively with white.
Tones
#331db2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331db2 {
color: #331db2;
}
.bg-331db2 {
background-color: #331db2;
color: #ffffff;
}
.border-331db2 {
border: 2px solid #331db2;
}
:root {
--color-primary: #331db2;
--color-primary-rgb: 51 29 178;
--color-primary-hsl: 249 72% 41%;
}
.gradient-331db2 {
background: linear-gradient(135deg, #331db2, #7e1db2);
}
.shadow-331db2 {
box-shadow: 0 8px 24px rgb(51 29 178 / 0.35);
}
Zaffre
#331db2 rgb(51, 29, 178) hsl(249, 72%, 41%) Zaffre
#9cb21d rgb(156, 178, 29) hsl(69, 72%, 41%) Apple Green
#b2331d rgb(178, 51, 29) hsl(9, 72%, 41%) Cornell Red
#1db233 rgb(29, 178, 51) hsl(129, 72%, 41%) Kelly Green