#401ec6 ≈ Medium Blue
#401ec6 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 77.65% blue; printed in CMYK it uses 67.68% cyan, 84.85% magenta, 0% yellow and 22.35% black. Its hue angle is 252.14°, with 73.68% saturation and 44.71% 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 9.46:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.36.
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.061 |
Shades
#401ec6 mixed progressively with black.
Tints
#401ec6 mixed progressively with white.
Tones
#401ec6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-401ec6 {
color: #401ec6;
}
.bg-401ec6 {
background-color: #401ec6;
color: #ffffff;
}
.border-401ec6 {
border: 2px solid #401ec6;
}
:root {
--color-primary: #401ec6;
--color-primary-rgb: 64 30 198;
--color-primary-hsl: 252 74% 45%;
}
.gradient-401ec6 {
background: linear-gradient(135deg, #401ec6, #941ec6);
}
.shadow-401ec6 {
box-shadow: 0 8px 24px rgb(64 30 198 / 0.35);
}
Medium Blue
#401ec6 rgb(64, 30, 198) hsl(252, 74%, 45%) Medium Blue
#a4c61e rgb(164, 198, 30) hsl(72, 74%, 45%) Yellow Green
#c6401e rgb(198, 64, 30) hsl(12, 74%, 45%) Sinopia
#1ec640 rgb(30, 198, 64) hsl(132, 74%, 45%) Lime Green