#540dbd ≈ Medium Blue
#540dbd is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 32.94% red, 5.1% green and 74.12% blue; printed in CMYK it uses 55.56% cyan, 93.12% magenta, 0% yellow and 25.88% black. Its hue angle is 264.2°, with 87.13% saturation and 39.61% 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.68:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.63.
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.0585 |
Shades
#540dbd mixed progressively with black.
Tints
#540dbd mixed progressively with white.
Tones
#540dbd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540dbd {
color: #540dbd;
}
.bg-540dbd {
background-color: #540dbd;
color: #ffffff;
}
.border-540dbd {
border: 2px solid #540dbd;
}
:root {
--color-primary: #540dbd;
--color-primary-rgb: 84 13 189;
--color-primary-hsl: 264 87% 40%;
}
.gradient-540dbd {
background: linear-gradient(135deg, #540dbd, #ac0dbd);
}
.shadow-540dbd {
box-shadow: 0 8px 24px rgb(84 13 189 / 0.35);
}
Medium Blue
#540dbd rgb(84, 13, 189) hsl(264, 87%, 40%) Medium Blue
#76bd0d rgb(118, 189, 13) hsl(84, 87%, 40%) Apple Green
#bd540d rgb(189, 84, 13) hsl(24, 87%, 40%) Burnt Orange
#0dbd54 rgb(13, 189, 84) hsl(144, 87%, 40%) Emerald