#5D4EAA

#5d4eaa ≈ Ocean Blue

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

#5d4eaa is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 36.47% red, 30.59% green and 66.67% blue; printed in CMYK it uses 45.29% cyan, 54.12% magenta, 0% yellow and 33.33% black. Its hue angle is 249.78°, with 37.1% saturation and 48.63% 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 6.7:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.56.

Description generated from the measured properties of this color.

Conversions of #5d4eaa 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.1068

Readable text 6.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #5c5782 ≈ 0.001% of males
Protanopia #205ead ≈ 1.01% of males
Deuteranopia #2059a8 ≈ 1.27% of males
Tritanopia #456274 ≈ 0.0001% of males
Protanomaly #4158ac ≈ 1.08% of males
Deuteranomaly #4155a9 ≈ 4.63% of males
Tritanomaly #505b8d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5d4eaa {
  color: #5d4eaa;
}
Background
.bg-5d4eaa {
  background-color: #5d4eaa;
  color: #ffffff;
}
Border
.border-5d4eaa {
  border: 2px solid #5d4eaa;
}
CSS variables
:root {
  --color-primary: #5d4eaa;
  --color-primary-rgb: 93 78 170;
  --color-primary-hsl: 250 37% 49%;
}
Gradient
.gradient-5d4eaa {
  background: linear-gradient(135deg, #5d4eaa, #8b4eaa);
}
Colored shadow
.shadow-5d4eaa {
  box-shadow: 0 8px 24px rgb(93 78 170 / 0.35);
}

Ocean Blue
#5d4eaa  rgb(93, 78, 170)  hsl(250, 37%, 49%)  Ocean Blue
#9baa4e  rgb(155, 170, 78)  hsl(70, 37%, 49%)  Moss Green
#aa5d4e  rgb(170, 93, 78)  hsl(10, 37%, 49%)  Redwood
#4eaa5d  rgb(78, 170, 93)  hsl(130, 37%, 49%)  Medium Sea Green