#331ea1 ≈ Zaffre
#331ea1 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 20% red, 11.76% green and 63.14% blue; printed in CMYK it uses 68.32% cyan, 81.37% magenta, 0% yellow and 36.86% black. Its hue angle is 249.62°, with 68.59% saturation and 37.45% 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.41:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.35.
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.0421 |
Shades
#331ea1 mixed progressively with black.
Tints
#331ea1 mixed progressively with white.
Tones
#331ea1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331ea1 {
color: #331ea1;
}
.bg-331ea1 {
background-color: #331ea1;
color: #ffffff;
}
.border-331ea1 {
border: 2px solid #331ea1;
}
:root {
--color-primary: #331ea1;
--color-primary-rgb: 51 30 161;
--color-primary-hsl: 250 69% 37%;
}
.gradient-331ea1 {
background: linear-gradient(135deg, #331ea1, #751ea1);
}
.shadow-331ea1 {
box-shadow: 0 8px 24px rgb(51 30 161 / 0.35);
}
Zaffre
#331ea1 rgb(51, 30, 161) hsl(250, 69%, 37%) Zaffre
#8ca11e rgb(140, 161, 30) hsl(70, 69%, 37%) Apple Green
#a1331e rgb(161, 51, 30) hsl(10, 69%, 37%) Rufous
#1ea133 rgb(30, 161, 51) hsl(130, 69%, 37%) Islamic Green