#331aea ≈ Blue
#331aea is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 10.2% green and 91.76% blue; printed in CMYK it uses 78.21% cyan, 88.89% magenta, 0% yellow and 8.24% black. Its hue angle is 247.21°, with 83.2% saturation and 50.98% 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.48:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.35.
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.0738 |
Shades
#331aea mixed progressively with black.
Tints
#331aea mixed progressively with white.
Tones
#331aea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331aea {
color: #331aea;
}
.bg-331aea {
background-color: #331aea;
color: #ffffff;
}
.border-331aea {
border: 2px solid #331aea;
}
:root {
--color-primary: #331aea;
--color-primary-rgb: 51 26 234;
--color-primary-hsl: 247 83% 51%;
}
.gradient-331aea {
background: linear-gradient(135deg, #331aea, #9b1aea);
}
.shadow-331aea {
box-shadow: 0 8px 24px rgb(51 26 234 / 0.35);
}
Blue
#331aea rgb(51, 26, 234) hsl(247, 83%, 51%) Blue
#d1ea1a rgb(209, 234, 26) hsl(67, 83%, 51%) Pear
#ea331a rgb(234, 51, 26) hsl(7, 83%, 51%) Red
#1aea33 rgb(26, 234, 51) hsl(127, 83%, 51%) Lime