#520caf ≈ Medium Blue
#520caf is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 32.16% red, 4.71% green and 68.63% blue; printed in CMYK it uses 53.14% cyan, 93.14% magenta, 0% yellow and 31.37% black. Its hue angle is 265.77°, with 87.17% saturation and 36.67% 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 10.34:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.12.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #660099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0515 |
Shades
#520caf mixed progressively with black.
Tints
#520caf mixed progressively with white.
Tones
#520caf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-520caf {
color: #520caf;
}
.bg-520caf {
background-color: #520caf;
color: #ffffff;
}
.border-520caf {
border: 2px solid #520caf;
}
:root {
--color-primary: #520caf;
--color-primary-rgb: 82 12 175;
--color-primary-hsl: 266 87% 37%;
}
.gradient-520caf {
background: linear-gradient(135deg, #520caf, #a40caf);
}
.shadow-520caf {
box-shadow: 0 8px 24px rgb(82 12 175 / 0.35);
}
Medium Blue
#520caf rgb(82, 12, 175) hsl(266, 87%, 37%) Medium Blue
#69af0c rgb(105, 175, 12) hsl(86, 87%, 37%) Kelly Green
#af520c rgb(175, 82, 12) hsl(26, 87%, 37%) Mahogany
#0caf52 rgb(12, 175, 82) hsl(146, 87%, 37%) Medium Sea Green