#401dcf ≈ Medium Blue
#401dcf 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.37% green and 81.18% blue; printed in CMYK it uses 69.08% cyan, 85.99% magenta, 0% yellow and 18.82% black. Its hue angle is 251.8°, with 75.42% saturation and 46.27% 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.15:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.58.
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.0647 |
Shades
#401dcf mixed progressively with black.
Tints
#401dcf mixed progressively with white.
Tones
#401dcf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-401dcf {
color: #401dcf;
}
.bg-401dcf {
background-color: #401dcf;
color: #ffffff;
}
.border-401dcf {
border: 2px solid #401dcf;
}
:root {
--color-primary: #401dcf;
--color-primary-rgb: 64 29 207;
--color-primary-hsl: 252 75% 46%;
}
.gradient-401dcf {
background: linear-gradient(135deg, #401dcf, #991dcf);
}
.shadow-401dcf {
box-shadow: 0 8px 24px rgb(64 29 207 / 0.35);
}
Medium Blue
#401dcf rgb(64, 29, 207) hsl(252, 75%, 46%) Medium Blue
#accf1d rgb(172, 207, 29) hsl(72, 75%, 46%) Yellow Green
#cf401d rgb(207, 64, 29) hsl(12, 75%, 46%) Sinopia
#1dcf40 rgb(29, 207, 64) hsl(132, 75%, 46%) Lime Green