#540cbb ≈ Medium Blue
#540cbb is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 32.94% red, 4.71% green and 73.33% blue; printed in CMYK it uses 55.08% cyan, 93.58% magenta, 0% yellow and 26.67% black. Its hue angle is 264.69°, with 87.94% saturation and 39.02% 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.68.
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.0574 |
Shades
#540cbb mixed progressively with black.
Tints
#540cbb mixed progressively with white.
Tones
#540cbb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540cbb {
color: #540cbb;
}
.bg-540cbb {
background-color: #540cbb;
color: #ffffff;
}
.border-540cbb {
border: 2px solid #540cbb;
}
:root {
--color-primary: #540cbb;
--color-primary-rgb: 84 12 187;
--color-primary-hsl: 265 88% 39%;
}
.gradient-540cbb {
background: linear-gradient(135deg, #540cbb, #ac0cbb);
}
.shadow-540cbb {
box-shadow: 0 8px 24px rgb(84 12 187 / 0.35);
}
Medium Blue
#540cbb rgb(84, 12, 187) hsl(265, 88%, 39%) Medium Blue
#73bb0c rgb(115, 187, 12) hsl(85, 88%, 39%) Kelly Green
#bb540c rgb(187, 84, 12) hsl(25, 88%, 39%) Burnt Orange
#0cbb54 rgb(12, 187, 84) hsl(145, 88%, 39%) Emerald