#511bb2 ≈ Medium Blue
#511bb2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 10.59% green and 69.8% blue; printed in CMYK it uses 54.49% cyan, 84.83% magenta, 0% yellow and 30.2% black. Its hue angle is 261.46°, with 73.66% saturation and 40.2% 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.77:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.22.
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.0575 |
Shades
#511bb2 mixed progressively with black.
Tints
#511bb2 mixed progressively with white.
Tones
#511bb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511bb2 {
color: #511bb2;
}
.bg-511bb2 {
background-color: #511bb2;
color: #ffffff;
}
.border-511bb2 {
border: 2px solid #511bb2;
}
:root {
--color-primary: #511bb2;
--color-primary-rgb: 81 27 178;
--color-primary-hsl: 261 74% 40%;
}
.gradient-511bb2 {
background: linear-gradient(135deg, #511bb2, #9d1bb2);
}
.shadow-511bb2 {
box-shadow: 0 8px 24px rgb(81 27 178 / 0.35);
}
Medium Blue
#511bb2 rgb(81, 27, 178) hsl(261, 74%, 40%) Medium Blue
#7cb21b rgb(124, 178, 27) hsl(81, 74%, 40%) Apple Green
#b2511b rgb(178, 81, 27) hsl(21, 74%, 40%) Rust
#1bb251 rgb(27, 178, 81) hsl(141, 74%, 40%) Medium Sea Green