#540db9 ≈ Medium Blue
#540db9 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 72.55% blue; printed in CMYK it uses 54.59% cyan, 92.97% magenta, 0% yellow and 27.45% black. Its hue angle is 264.77°, with 86.87% 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.84:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.78.
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.0568 |
Shades
#540db9 mixed progressively with black.
Tints
#540db9 mixed progressively with white.
Tones
#540db9 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540db9 {
color: #540db9;
}
.bg-540db9 {
background-color: #540db9;
color: #ffffff;
}
.border-540db9 {
border: 2px solid #540db9;
}
:root {
--color-primary: #540db9;
--color-primary-rgb: 84 13 185;
--color-primary-hsl: 265 87% 39%;
}
.gradient-540db9 {
background: linear-gradient(135deg, #540db9, #aa0db9);
}
.shadow-540db9 {
box-shadow: 0 8px 24px rgb(84 13 185 / 0.35);
}
Medium Blue
#540db9 rgb(84, 13, 185) hsl(265, 87%, 39%) Medium Blue
#72b90d rgb(114, 185, 13) hsl(85, 87%, 39%) Kelly Green
#b9540d rgb(185, 84, 13) hsl(25, 87%, 39%) Burnt Orange
#0db954 rgb(13, 185, 84) hsl(145, 87%, 39%) Medium Sea Green