#540bb9 ≈ Medium Blue
#540bb9 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.31% green and 72.55% blue; printed in CMYK it uses 54.59% cyan, 94.05% magenta, 0% yellow and 27.45% black. Its hue angle is 265.17°, with 88.78% saturation and 38.43% 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.88:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.75.
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.0563 |
Shades
#540bb9 mixed progressively with black.
Tints
#540bb9 mixed progressively with white.
Tones
#540bb9 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540bb9 {
color: #540bb9;
}
.bg-540bb9 {
background-color: #540bb9;
color: #ffffff;
}
.border-540bb9 {
border: 2px solid #540bb9;
}
:root {
--color-primary: #540bb9;
--color-primary-rgb: 84 11 185;
--color-primary-hsl: 265 89% 38%;
}
.gradient-540bb9 {
background: linear-gradient(135deg, #540bb9, #ab0bb9);
}
.shadow-540bb9 {
box-shadow: 0 8px 24px rgb(84 11 185 / 0.35);
}
Medium Blue
#540bb9 rgb(84, 11, 185) hsl(265, 89%, 38%) Medium Blue
#70b90b rgb(112, 185, 11) hsl(85, 89%, 38%) Kelly Green
#b9540b rgb(185, 84, 11) hsl(25, 89%, 38%) Burnt Orange
#0bb954 rgb(11, 185, 84) hsl(145, 89%, 38%) Medium Sea Green