#401cb7 ≈ Medium Blue
#401cb7 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 10.98% green and 71.76% blue; printed in CMYK it uses 65.03% cyan, 84.7% magenta, 0% yellow and 28.24% black. Its hue angle is 253.94°, with 73.46% saturation and 41.37% 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.16:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.4.
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.0534 |
Shades
#401cb7 mixed progressively with black.
Tints
#401cb7 mixed progressively with white.
Tones
#401cb7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-401cb7 {
color: #401cb7;
}
.bg-401cb7 {
background-color: #401cb7;
color: #ffffff;
}
.border-401cb7 {
border: 2px solid #401cb7;
}
:root {
--color-primary: #401cb7;
--color-primary-rgb: 64 28 183;
--color-primary-hsl: 254 73% 41%;
}
.gradient-401cb7 {
background: linear-gradient(135deg, #401cb7, #8e1cb7);
}
.shadow-401cb7 {
box-shadow: 0 8px 24px rgb(64 28 183 / 0.35);
}
Medium Blue
#401cb7 rgb(64, 28, 183) hsl(254, 73%, 41%) Medium Blue
#93b71c rgb(147, 183, 28) hsl(74, 73%, 41%) Apple Green
#b7401c rgb(183, 64, 28) hsl(14, 73%, 41%) Rust
#1cb740 rgb(28, 183, 64) hsl(134, 73%, 41%) Kelly Green