#511fb5 ≈ Medium Blue
#511fb5 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 70.98% blue; printed in CMYK it uses 55.25% cyan, 82.87% magenta, 0% yellow and 29.02% black. Its hue angle is 260°, with 70.75% saturation and 41.57% 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.49:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.31.
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.0607 |
Shades
#511fb5 mixed progressively with black.
Tints
#511fb5 mixed progressively with white.
Tones
#511fb5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511fb5 {
color: #511fb5;
}
.bg-511fb5 {
background-color: #511fb5;
color: #ffffff;
}
.border-511fb5 {
border: 2px solid #511fb5;
}
:root {
--color-primary: #511fb5;
--color-primary-rgb: 81 31 181;
--color-primary-hsl: 260 71% 42%;
}
.gradient-511fb5 {
background: linear-gradient(135deg, #511fb5, #9c1fb5);
}
.shadow-511fb5 {
box-shadow: 0 8px 24px rgb(81 31 181 / 0.35);
}
Medium Blue
#511fb5 rgb(81, 31, 181) hsl(260, 71%, 42%) Medium Blue
#83b51f rgb(131, 181, 31) hsl(80, 71%, 42%) Apple Green
#b5511f rgb(181, 81, 31) hsl(20, 71%, 42%) Rust
#1fb551 rgb(31, 181, 81) hsl(140, 71%, 42%) Medium Sea Green