#331ecc ≈ Medium Blue
#331ecc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 11.76% green and 80% blue; printed in CMYK it uses 75% cyan, 85.29% magenta, 0% yellow and 20% black. Its hue angle is 247.24°, with 74.36% saturation and 45.88% 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 9.55:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.75.
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.0599 |
Shades
#331ecc mixed progressively with black.
Tints
#331ecc mixed progressively with white.
Tones
#331ecc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331ecc {
color: #331ecc;
}
.bg-331ecc {
background-color: #331ecc;
color: #ffffff;
}
.border-331ecc {
border: 2px solid #331ecc;
}
:root {
--color-primary: #331ecc;
--color-primary-rgb: 51 30 204;
--color-primary-hsl: 247 74% 46%;
}
.gradient-331ecc {
background: linear-gradient(135deg, #331ecc, #8a1ecc);
}
.shadow-331ecc {
box-shadow: 0 8px 24px rgb(51 30 204 / 0.35);
}
Medium Blue
#331ecc rgb(51, 30, 204) hsl(247, 74%, 46%) Medium Blue
#b7cc1e rgb(183, 204, 30) hsl(67, 74%, 46%) June Bud
#cc331e rgb(204, 51, 30) hsl(7, 74%, 46%) Rosso Corsa
#1ecc33 rgb(30, 204, 51) hsl(127, 74%, 46%) Lime Green