#331eba ≈ Medium Blue
#331eba 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 72.94% blue; printed in CMYK it uses 72.58% cyan, 83.87% magenta, 0% yellow and 27.06% black. Its hue angle is 248.08°, with 72.22% saturation and 42.35% 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 10.32:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.72.
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.0518 |
Shades
#331eba mixed progressively with black.
Tints
#331eba mixed progressively with white.
Tones
#331eba mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331eba {
color: #331eba;
}
.bg-331eba {
background-color: #331eba;
color: #ffffff;
}
.border-331eba {
border: 2px solid #331eba;
}
:root {
--color-primary: #331eba;
--color-primary-rgb: 51 30 186;
--color-primary-hsl: 248 72% 42%;
}
.gradient-331eba {
background: linear-gradient(135deg, #331eba, #811eba);
}
.shadow-331eba {
box-shadow: 0 8px 24px rgb(51 30 186 / 0.35);
}
Medium Blue
#331eba rgb(51, 30, 186) hsl(248, 72%, 42%) Medium Blue
#a5ba1e rgb(165, 186, 30) hsl(68, 72%, 42%) Apple Green
#ba331e rgb(186, 51, 30) hsl(8, 72%, 42%) Venetian Red
#1eba33 rgb(30, 186, 51) hsl(128, 72%, 42%) Kelly Green