#331eea ≈ Blue
#331eea is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 11.76% green and 91.76% blue; printed in CMYK it uses 78.21% cyan, 87.18% magenta, 0% yellow and 8.24% black. Its hue angle is 246.18°, with 82.93% saturation and 51.76% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 8.35:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.58.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0757 |
Shades
#331eea mixed progressively with black.
Tints
#331eea mixed progressively with white.
Tones
#331eea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331eea {
color: #331eea;
}
.bg-331eea {
background-color: #331eea;
color: #ffffff;
}
.border-331eea {
border: 2px solid #331eea;
}
:root {
--color-primary: #331eea;
--color-primary-rgb: 51 30 234;
--color-primary-hsl: 246 83% 52%;
}
.gradient-331eea {
background: linear-gradient(135deg, #331eea, #991eea);
}
.shadow-331eea {
box-shadow: 0 8px 24px rgb(51 30 234 / 0.35);
}
Blue
#331eea rgb(51, 30, 234) hsl(246, 83%, 52%) Blue
#d5ea1e rgb(213, 234, 30) hsl(66, 83%, 52%) Pear
#ea331e rgb(234, 51, 30) hsl(6, 83%, 52%) Lust
#1eea33 rgb(30, 234, 51) hsl(126, 83%, 52%) Lime