#401eb2 ≈ Medium Blue
#401eb2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 11.76% green and 69.8% blue; printed in CMYK it uses 64.04% cyan, 83.15% magenta, 0% yellow and 30.2% black. Its hue angle is 253.78°, with 71.15% saturation and 40.78% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 10.26:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.85.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0523 |
Shades
#401eb2 mixed progressively with black.
Tints
#401eb2 mixed progressively with white.
Tones
#401eb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-401eb2 {
color: #401eb2;
}
.bg-401eb2 {
background-color: #401eb2;
color: #ffffff;
}
.border-401eb2 {
border: 2px solid #401eb2;
}
:root {
--color-primary: #401eb2;
--color-primary-rgb: 64 30 178;
--color-primary-hsl: 254 71% 41%;
}
.gradient-401eb2 {
background: linear-gradient(135deg, #401eb2, #8a1eb2);
}
.shadow-401eb2 {
box-shadow: 0 8px 24px rgb(64 30 178 / 0.35);
}
Medium Blue
#401eb2 rgb(64, 30, 178) hsl(254, 71%, 41%) Medium Blue
#90b21e rgb(144, 178, 30) hsl(74, 71%, 41%) Apple Green
#b2401e rgb(178, 64, 30) hsl(14, 71%, 41%) Rust
#1eb240 rgb(30, 178, 64) hsl(134, 71%, 41%) Kelly Green