#4018cd ≈ Medium Blue
#4018cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 9.41% green and 80.39% blue; printed in CMYK it uses 68.78% cyan, 88.29% magenta, 0% yellow and 19.61% black. Its hue angle is 253.26°, with 79.04% saturation and 44.9% 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.42:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.07.
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.0615 |
Shades
#4018cd mixed progressively with black.
Tints
#4018cd mixed progressively with white.
Tones
#4018cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4018cd {
color: #4018cd;
}
.bg-4018cd {
background-color: #4018cd;
color: #ffffff;
}
.border-4018cd {
border: 2px solid #4018cd;
}
:root {
--color-primary: #4018cd;
--color-primary-rgb: 64 24 205;
--color-primary-hsl: 253 79% 45%;
}
.gradient-4018cd {
background: linear-gradient(135deg, #4018cd, #9a18cd);
}
.shadow-4018cd {
box-shadow: 0 8px 24px rgb(64 24 205 / 0.35);
}
Medium Blue
#4018cd rgb(64, 24, 205) hsl(253, 79%, 45%) Medium Blue
#a5cd18 rgb(165, 205, 24) hsl(73, 79%, 45%) Yellow Green
#cd4018 rgb(205, 64, 24) hsl(13, 79%, 45%) Sinopia
#18cd40 rgb(24, 205, 64) hsl(133, 79%, 45%) Lime Green