#4d508f ≈ Dark Slate Blue
#4d508f is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 30.2% red, 31.37% green and 56.08% blue; printed in CMYK it uses 46.15% cyan, 44.06% magenta, 0% yellow and 43.92% black. Its hue angle is 237.27°, with 30% saturation and 43.14% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 7.34:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 6.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.093 |
Shades
#4d508f mixed progressively with black.
Tints
#4d508f mixed progressively with white.
Tones
#4d508f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4d508f {
color: #4d508f;
}
.bg-4d508f {
background-color: #4d508f;
color: #ffffff;
}
.border-4d508f {
border: 2px solid #4d508f;
}
:root {
--color-primary: #4d508f;
--color-primary-rgb: 77 80 143;
--color-primary-hsl: 237 30% 43%;
}
.gradient-4d508f {
background: linear-gradient(135deg, #4d508f, #6b4d8f);
}
.shadow-4d508f {
box-shadow: 0 8px 24px rgb(77 80 143 / 0.35);
}
Dark Slate Blue
#4d508f rgb(77, 80, 143) hsl(237, 30%, 43%) Dark Slate Blue
#8f8c4d rgb(143, 140, 77) hsl(57, 30%, 43%) Moss Green
#8f4d50 rgb(143, 77, 80) hsl(357, 30%, 43%) Cordovan
#508f4d rgb(80, 143, 77) hsl(117, 30%, 43%) Sea Green