#420fcb ≈ Medium Blue
#420fcb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 25.88% red, 5.88% green and 79.61% blue; printed in CMYK it uses 67.49% cyan, 92.61% magenta, 0% yellow and 20.39% black. Its hue angle is 256.28°, with 86.24% saturation and 42.75% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 9.71:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.69.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3300cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0581 |
Shades
#420fcb mixed progressively with black.
Tints
#420fcb mixed progressively with white.
Tones
#420fcb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-420fcb {
color: #420fcb;
}
.bg-420fcb {
background-color: #420fcb;
color: #ffffff;
}
.border-420fcb {
border: 2px solid #420fcb;
}
:root {
--color-primary: #420fcb;
--color-primary-rgb: 66 15 203;
--color-primary-hsl: 256 86% 43%;
}
.gradient-420fcb {
background: linear-gradient(135deg, #420fcb, #a00fcb);
}
.shadow-420fcb {
box-shadow: 0 8px 24px rgb(66 15 203 / 0.35);
}
Medium Blue
#420fcb rgb(66, 15, 203) hsl(256, 86%, 43%) Medium Blue
#98cb0f rgb(152, 203, 15) hsl(76, 86%, 43%) Yellow Green
#cb420f rgb(203, 66, 15) hsl(16, 86%, 43%) Sinopia
#0fcb42 rgb(15, 203, 66) hsl(136, 86%, 43%) Lime Green