#51387e ≈ Dark Slate Blue
#51387e is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 21.96% green and 49.41% blue; printed in CMYK it uses 35.71% cyan, 55.56% magenta, 0% yellow and 50.59% black. Its hue angle is 261.43°, with 38.46% saturation and 35.69% 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.47:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 4.1.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0608 |
Shades
#51387e mixed progressively with black.
Tints
#51387e mixed progressively with white.
Tones
#51387e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-51387e {
color: #51387e;
}
.bg-51387e {
background-color: #51387e;
color: #ffffff;
}
.border-51387e {
border: 2px solid #51387e;
}
:root {
--color-primary: #51387e;
--color-primary-rgb: 81 56 126;
--color-primary-hsl: 261 38% 36%;
}
.gradient-51387e {
background: linear-gradient(135deg, #51387e, #74387e);
}
.shadow-51387e {
box-shadow: 0 8px 24px rgb(81 56 126 / 0.35);
}
Dark Slate Blue
#51387e rgb(81, 56, 126) hsl(261, 38%, 36%) Dark Slate Blue
#657e38 rgb(101, 126, 56) hsl(81, 38%, 36%) Sap Green
#7e5138 rgb(126, 81, 56) hsl(21, 38%, 36%) Coffee
#387e51 rgb(56, 126, 81) hsl(141, 38%, 36%) Sea Green