#331fe4 ≈ Blue
#331fe4 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 12.16% green and 89.41% blue; printed in CMYK it uses 77.63% cyan, 86.4% magenta, 0% yellow and 10.59% black. Its hue angle is 246.09°, with 78.49% saturation and 50.78% 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 8.55:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.99.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0729 |
Shades
#331fe4 mixed progressively with black.
Tints
#331fe4 mixed progressively with white.
Tones
#331fe4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331fe4 {
color: #331fe4;
}
.bg-331fe4 {
background-color: #331fe4;
color: #ffffff;
}
.border-331fe4 {
border: 2px solid #331fe4;
}
:root {
--color-primary: #331fe4;
--color-primary-rgb: 51 31 228;
--color-primary-hsl: 246 78% 51%;
}
.gradient-331fe4 {
background: linear-gradient(135deg, #331fe4, #951fe4);
}
.shadow-331fe4 {
box-shadow: 0 8px 24px rgb(51 31 228 / 0.35);
}
Blue
#331fe4 rgb(51, 31, 228) hsl(246, 78%, 51%) Blue
#d0e41f rgb(208, 228, 31) hsl(66, 78%, 51%) Pear
#e4331f rgb(228, 51, 31) hsl(6, 78%, 51%) Lust
#1fe433 rgb(31, 228, 51) hsl(126, 78%, 51%) Malachite