#401fc8 ≈ Medium Blue
#401fc8 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 12.16% green and 78.43% blue; printed in CMYK it uses 68% cyan, 84.5% magenta, 0% yellow and 21.57% black. Its hue angle is 251.72°, with 73.16% saturation and 45.29% 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.34:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.51.
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.0624 |
Shades
#401fc8 mixed progressively with black.
Tints
#401fc8 mixed progressively with white.
Tones
#401fc8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-401fc8 {
color: #401fc8;
}
.bg-401fc8 {
background-color: #401fc8;
color: #ffffff;
}
.border-401fc8 {
border: 2px solid #401fc8;
}
:root {
--color-primary: #401fc8;
--color-primary-rgb: 64 31 200;
--color-primary-hsl: 252 73% 45%;
}
.gradient-401fc8 {
background: linear-gradient(135deg, #401fc8, #941fc8);
}
.shadow-401fc8 {
box-shadow: 0 8px 24px rgb(64 31 200 / 0.35);
}
Medium Blue
#401fc8 rgb(64, 31, 200) hsl(252, 73%, 45%) Medium Blue
#a7c81f rgb(167, 200, 31) hsl(72, 73%, 45%) Yellow Green
#c8401f rgb(200, 64, 31) hsl(12, 73%, 45%) Sinopia
#1fc840 rgb(31, 200, 64) hsl(132, 73%, 45%) Lime Green