#511eb2 ≈ Medium Blue
#511eb2 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.76% green and 69.8% blue; printed in CMYK it uses 54.49% cyan, 83.15% magenta, 0% yellow and 30.2% black. Its hue angle is 260.68°, with 71.15% saturation and 40.78% 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.64:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.4.
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.0589 |
Shades
#511eb2 mixed progressively with black.
Tints
#511eb2 mixed progressively with white.
Tones
#511eb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511eb2 {
color: #511eb2;
}
.bg-511eb2 {
background-color: #511eb2;
color: #ffffff;
}
.border-511eb2 {
border: 2px solid #511eb2;
}
:root {
--color-primary: #511eb2;
--color-primary-rgb: 81 30 178;
--color-primary-hsl: 261 71% 41%;
}
.gradient-511eb2 {
background: linear-gradient(135deg, #511eb2, #9b1eb2);
}
.shadow-511eb2 {
box-shadow: 0 8px 24px rgb(81 30 178 / 0.35);
}
Medium Blue
#511eb2 rgb(81, 30, 178) hsl(261, 71%, 41%) Medium Blue
#7fb21e rgb(127, 178, 30) hsl(81, 71%, 41%) Apple Green
#b2511e rgb(178, 81, 30) hsl(21, 71%, 41%) Rust
#1eb251 rgb(30, 178, 81) hsl(141, 71%, 41%) Medium Sea Green