#511cb1 ≈ Medium Blue
#511cb1 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.98% green and 69.41% blue; printed in CMYK it uses 54.24% cyan, 84.18% magenta, 0% yellow and 30.59% black. Its hue angle is 261.34°, with 72.68% 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.76:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.34.
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
#511cb1 mixed progressively with black.
Tints
#511cb1 mixed progressively with white.
Tones
#511cb1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511cb1 {
color: #511cb1;
}
.bg-511cb1 {
background-color: #511cb1;
color: #ffffff;
}
.border-511cb1 {
border: 2px solid #511cb1;
}
:root {
--color-primary: #511cb1;
--color-primary-rgb: 81 28 177;
--color-primary-hsl: 261 73% 40%;
}
.gradient-511cb1 {
background: linear-gradient(135deg, #511cb1, #9c1cb1);
}
.shadow-511cb1 {
box-shadow: 0 8px 24px rgb(81 28 177 / 0.35);
}
Medium Blue
#511cb1 rgb(81, 28, 177) hsl(261, 73%, 40%) Medium Blue
#7cb11c rgb(124, 177, 28) hsl(81, 73%, 40%) Apple Green
#b1511c rgb(177, 81, 28) hsl(21, 73%, 40%) Rust
#1cb151 rgb(28, 177, 81) hsl(141, 73%, 40%) Medium Sea Green