#511dba ≈ Medium Blue
#511dba is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 11.37% green and 72.94% blue; printed in CMYK it uses 56.45% cyan, 84.41% magenta, 0% yellow and 27.06% black. Its hue angle is 259.87°, with 73.02% saturation and 42.16% 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.4:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.99.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0617 |
Shades
#511dba mixed progressively with black.
Tints
#511dba mixed progressively with white.
Tones
#511dba mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511dba {
color: #511dba;
}
.bg-511dba {
background-color: #511dba;
color: #ffffff;
}
.border-511dba {
border: 2px solid #511dba;
}
:root {
--color-primary: #511dba;
--color-primary-rgb: 81 29 186;
--color-primary-hsl: 260 73% 42%;
}
.gradient-511dba {
background: linear-gradient(135deg, #511dba, #a01dba);
}
.shadow-511dba {
box-shadow: 0 8px 24px rgb(81 29 186 / 0.35);
}
Medium Blue
#511dba rgb(81, 29, 186) hsl(260, 73%, 42%) Medium Blue
#86ba1d rgb(134, 186, 29) hsl(80, 73%, 42%) Apple Green
#ba511d rgb(186, 81, 29) hsl(20, 73%, 42%) Mahogany
#1dba51 rgb(29, 186, 81) hsl(140, 73%, 42%) Emerald