#511cb4 ≈ Medium Blue
#511cb4 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 70.59% blue; printed in CMYK it uses 55% cyan, 84.44% magenta, 0% yellow and 29.41% black. Its hue angle is 260.92°, with 73.08% 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.66:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.17.
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.0588 |
Shades
#511cb4 mixed progressively with black.
Tints
#511cb4 mixed progressively with white.
Tones
#511cb4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511cb4 {
color: #511cb4;
}
.bg-511cb4 {
background-color: #511cb4;
color: #ffffff;
}
.border-511cb4 {
border: 2px solid #511cb4;
}
:root {
--color-primary: #511cb4;
--color-primary-rgb: 81 28 180;
--color-primary-hsl: 261 73% 41%;
}
.gradient-511cb4 {
background: linear-gradient(135deg, #511cb4, #9d1cb4);
}
.shadow-511cb4 {
box-shadow: 0 8px 24px rgb(81 28 180 / 0.35);
}
Medium Blue
#511cb4 rgb(81, 28, 180) hsl(261, 73%, 41%) Medium Blue
#7fb41c rgb(127, 180, 28) hsl(81, 73%, 41%) Apple Green
#b4511c rgb(180, 81, 28) hsl(21, 73%, 41%) Rust
#1cb451 rgb(28, 180, 81) hsl(141, 73%, 41%) Medium Sea Green