#511bad ≈ Medium Blue
#511bad is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 31.76% red, 10.59% green and 67.84% blue; printed in CMYK it uses 53.18% cyan, 84.39% magenta, 0% yellow and 32.16% black. Its hue angle is 262.19°, with 73% saturation and 39.22% 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 brand accents. White text on this color reaches a contrast ratio of 9.95:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.56.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0555 |
Shades
#511bad mixed progressively with black.
Tints
#511bad mixed progressively with white.
Tones
#511bad mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511bad {
color: #511bad;
}
.bg-511bad {
background-color: #511bad;
color: #ffffff;
}
.border-511bad {
border: 2px solid #511bad;
}
:root {
--color-primary: #511bad;
--color-primary-rgb: 81 27 173;
--color-primary-hsl: 262 73% 39%;
}
.gradient-511bad {
background: linear-gradient(135deg, #511bad, #9a1bad);
}
.shadow-511bad {
box-shadow: 0 8px 24px rgb(81 27 173 / 0.35);
}
Medium Blue
#511bad rgb(81, 27, 173) hsl(262, 73%, 39%) Medium Blue
#77ad1b rgb(119, 173, 27) hsl(82, 73%, 39%) Apple Green
#ad511b rgb(173, 81, 27) hsl(22, 73%, 39%) Sienna
#1bad51 rgb(27, 173, 81) hsl(142, 73%, 39%) Medium Sea Green