#540abc ≈ Medium Blue
#540abc is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 32.94% red, 3.92% green and 73.73% blue; printed in CMYK it uses 55.32% cyan, 94.68% magenta, 0% yellow and 26.27% black. Its hue angle is 264.94°, with 89.9% saturation and 38.82% 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.78:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.62.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0573 |
Shades
#540abc mixed progressively with black.
Tints
#540abc mixed progressively with white.
Tones
#540abc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540abc {
color: #540abc;
}
.bg-540abc {
background-color: #540abc;
color: #ffffff;
}
.border-540abc {
border: 2px solid #540abc;
}
:root {
--color-primary: #540abc;
--color-primary-rgb: 84 10 188;
--color-primary-hsl: 265 90% 39%;
}
.gradient-540abc {
background: linear-gradient(135deg, #540abc, #ad0abc);
}
.shadow-540abc {
box-shadow: 0 8px 24px rgb(84 10 188 / 0.35);
}
Medium Blue
#540abc rgb(84, 10, 188) hsl(265, 90%, 39%) Medium Blue
#72bc0a rgb(114, 188, 10) hsl(85, 90%, 39%) Kelly Green
#bc540a rgb(188, 84, 10) hsl(25, 90%, 39%) Burnt Orange
#0abc54 rgb(10, 188, 84) hsl(145, 90%, 39%) Emerald