#511fb4 ≈ Medium Blue
#511fb4 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.59% blue; printed in CMYK it uses 55% cyan, 82.78% magenta, 0% yellow and 29.41% black. Its hue angle is 260.13°, with 70.62% saturation and 41.37% 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.52:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.36.
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.0602 |
Shades
#511fb4 mixed progressively with black.
Tints
#511fb4 mixed progressively with white.
Tones
#511fb4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511fb4 {
color: #511fb4;
}
.bg-511fb4 {
background-color: #511fb4;
color: #ffffff;
}
.border-511fb4 {
border: 2px solid #511fb4;
}
:root {
--color-primary: #511fb4;
--color-primary-rgb: 81 31 180;
--color-primary-hsl: 260 71% 41%;
}
.gradient-511fb4 {
background: linear-gradient(135deg, #511fb4, #9b1fb4);
}
.shadow-511fb4 {
box-shadow: 0 8px 24px rgb(81 31 180 / 0.35);
}
Medium Blue
#511fb4 rgb(81, 31, 180) hsl(260, 71%, 41%) Medium Blue
#82b41f rgb(130, 180, 31) hsl(80, 71%, 41%) Apple Green
#b4511f rgb(180, 81, 31) hsl(20, 71%, 41%) Rust
#1fb451 rgb(31, 180, 81) hsl(140, 71%, 41%) Medium Sea Green