#511fbd ≈ Medium Blue
#511fbd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 12.16% green and 74.12% blue; printed in CMYK it uses 57.14% cyan, 83.6% magenta, 0% yellow and 25.88% black. Its hue angle is 258.99°, with 71.82% saturation and 43.14% 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.21:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.05.
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.064 |
Shades
#511fbd mixed progressively with black.
Tints
#511fbd mixed progressively with white.
Tones
#511fbd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511fbd {
color: #511fbd;
}
.bg-511fbd {
background-color: #511fbd;
color: #ffffff;
}
.border-511fbd {
border: 2px solid #511fbd;
}
:root {
--color-primary: #511fbd;
--color-primary-rgb: 81 31 189;
--color-primary-hsl: 259 72% 43%;
}
.gradient-511fbd {
background: linear-gradient(135deg, #511fbd, #a01fbd);
}
.shadow-511fbd {
box-shadow: 0 8px 24px rgb(81 31 189 / 0.35);
}
Medium Blue
#511fbd rgb(81, 31, 189) hsl(259, 72%, 43%) Medium Blue
#8bbd1f rgb(139, 189, 31) hsl(79, 72%, 43%) Apple Green
#bd511f rgb(189, 81, 31) hsl(19, 72%, 43%) Mahogany
#1fbd51 rgb(31, 189, 81) hsl(139, 72%, 43%) Emerald