#331eec ≈ Blue
#331eec 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 92.55% blue; printed in CMYK it uses 78.39% cyan, 87.29% magenta, 0% yellow and 7.45% black. Its hue angle is 246.12°, with 84.43% saturation and 52.16% 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.28:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.5.
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.0769 |
Shades
#331eec mixed progressively with black.
Tints
#331eec mixed progressively with white.
Tones
#331eec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331eec {
color: #331eec;
}
.bg-331eec {
background-color: #331eec;
color: #ffffff;
}
.border-331eec {
border: 2px solid #331eec;
}
:root {
--color-primary: #331eec;
--color-primary-rgb: 51 30 236;
--color-primary-hsl: 246 84% 52%;
}
.gradient-331eec {
background: linear-gradient(135deg, #331eec, #9a1eec);
}
.shadow-331eec {
box-shadow: 0 8px 24px rgb(51 30 236 / 0.35);
}
Blue
#331eec rgb(51, 30, 236) hsl(246, 84%, 52%) Blue
#d7ec1e rgb(215, 236, 30) hsl(66, 84%, 52%) Pear
#ec331e rgb(236, 51, 30) hsl(6, 84%, 52%) Red
#1eec33 rgb(30, 236, 51) hsl(126, 84%, 52%) Lime