#381fa2 ≈ Zaffre
#381fa2 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 21.96% red, 12.16% green and 63.53% blue; printed in CMYK it uses 65.43% cyan, 80.86% magenta, 0% yellow and 36.47% black. Its hue angle is 251.45°, with 67.88% saturation and 37.84% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 11.14:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.9.
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.0443 |
Shades
#381fa2 mixed progressively with black.
Tints
#381fa2 mixed progressively with white.
Tones
#381fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-381fa2 {
color: #381fa2;
}
.bg-381fa2 {
background-color: #381fa2;
color: #ffffff;
}
.border-381fa2 {
border: 2px solid #381fa2;
}
:root {
--color-primary: #381fa2;
--color-primary-rgb: 56 31 162;
--color-primary-hsl: 251 68% 38%;
}
.gradient-381fa2 {
background: linear-gradient(135deg, #381fa2, #791fa2);
}
.shadow-381fa2 {
box-shadow: 0 8px 24px rgb(56 31 162 / 0.35);
}
Zaffre
#381fa2 rgb(56, 31, 162) hsl(251, 68%, 38%) Zaffre
#89a21f rgb(137, 162, 31) hsl(71, 68%, 38%) Apple Green
#a2381f rgb(162, 56, 31) hsl(11, 68%, 38%) Rufous
#1fa238 rgb(31, 162, 56) hsl(131, 68%, 38%) Islamic Green