#4D508F

#4d508f ≈ Dark Slate Blue

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#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.

Conversions of #4d508f into other color spaces
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 luminance0.093

Readable text 7.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #535471 ≈ 0.001% of males
Protanopia #385991 ≈ 1.01% of males
Deuteranopia #33548e ≈ 1.27% of males
Tritanopia #375d68 ≈ 0.0001% of males
Protanomaly #415590 ≈ 1.08% of males
Deuteranomaly #3f528e ≈ 4.63% of males
Tritanomaly #41587a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4d508f {
  color: #4d508f;
}
Background
.bg-4d508f {
  background-color: #4d508f;
  color: #ffffff;
}
Border
.border-4d508f {
  border: 2px solid #4d508f;
}
CSS variables
:root {
  --color-primary: #4d508f;
  --color-primary-rgb: 77 80 143;
  --color-primary-hsl: 237 30% 43%;
}
Gradient
.gradient-4d508f {
  background: linear-gradient(135deg, #4d508f, #6b4d8f);
}
Colored shadow
.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