#5A5AAA

#5a5aaa ≈ Slate Blue

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

#5a5aaa is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 35.29% red, 35.29% green and 66.67% blue; printed in CMYK it uses 47.06% cyan, 47.06% magenta, 0% yellow and 33.33% black. Its hue angle is 240°, with 32% saturation and 50.98% 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.04:1 (WCAG AA). The closest named color is Slate Blue (#6a5acd), ΔE 6.21.

Description generated from the measured properties of this color.

Conversions of #5a5aaa 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.1239

Readable text 6.04:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #5f5f85 ≈ 0.001% of males
Protanopia #3966ad ≈ 1.01% of males
Deuteranopia #3460a8 ≈ 1.27% of males
Tritanopia #3e6b7a ≈ 0.0001% of males
Protanomaly #4861ac ≈ 1.08% of males
Deuteranomaly #465ea9 ≈ 4.63% of males
Tritanomaly #4b6590 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a5aaa {
  color: #5a5aaa;
}
Background
.bg-5a5aaa {
  background-color: #5a5aaa;
  color: #ffffff;
}
Border
.border-5a5aaa {
  border: 2px solid #5a5aaa;
}
CSS variables
:root {
  --color-primary: #5a5aaa;
  --color-primary-rgb: 90 90 170;
  --color-primary-hsl: 240 32% 51%;
}
Gradient
.gradient-5a5aaa {
  background: linear-gradient(135deg, #5a5aaa, #825aaa);
}
Colored shadow
.shadow-5a5aaa {
  box-shadow: 0 8px 24px rgb(90 90 170 / 0.35);
}

Slate Blue
#5a5aaa  rgb(90, 90, 170)  hsl(240, 32%, 51%)  Slate Blue
#aaaa5a  rgb(170, 170, 90)  hsl(60, 32%, 51%)  Dark Khaki
#aa5a5a  rgb(170, 90, 90)  hsl(0, 32%, 51%)  Redwood
#5aaa5a  rgb(90, 170, 90)  hsl(120, 32%, 51%)  Medium Sea Green