#331fea ≈ Blue
#331fea 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 91.76% blue; printed in CMYK it uses 78.21% cyan, 86.75% magenta, 0% yellow and 8.24% black. Its hue angle is 245.91°, with 82.86% saturation and 51.96% 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.32:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.65.
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.0762 |
Shades
#331fea mixed progressively with black.
Tints
#331fea mixed progressively with white.
Tones
#331fea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331fea {
color: #331fea;
}
.bg-331fea {
background-color: #331fea;
color: #ffffff;
}
.border-331fea {
border: 2px solid #331fea;
}
:root {
--color-primary: #331fea;
--color-primary-rgb: 51 31 234;
--color-primary-hsl: 246 83% 52%;
}
.gradient-331fea {
background: linear-gradient(135deg, #331fea, #981fea);
}
.shadow-331fea {
box-shadow: 0 8px 24px rgb(51 31 234 / 0.35);
}
Blue
#331fea rgb(51, 31, 234) hsl(246, 83%, 52%) Blue
#d6ea1f rgb(214, 234, 31) hsl(66, 83%, 52%) Pear
#ea331f rgb(234, 51, 31) hsl(6, 83%, 52%) Lust
#1fea33 rgb(31, 234, 51) hsl(126, 83%, 52%) Lime