#5C5FAB

#5c5fab ≈ Slate Blue

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

#5c5fab is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 36.08% red, 37.25% green and 67.06% blue; printed in CMYK it uses 46.2% cyan, 44.44% magenta, 0% yellow and 32.94% black. Its hue angle is 237.72°, with 31.98% saturation and 51.57% 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 5.71:1 (WCAG AA). The closest named color is Slate Blue (#6a5acd), ΔE 6.44.

Description generated from the measured properties of this color.

Conversions of #5c5fab 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.134

Readable text 5.71:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.68:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #626487 ≈ 0.001% of males
Protanopia #4169ae ≈ 1.01% of males
Deuteranopia #3c64a9 ≈ 1.27% of males
Tritanopia #416f7d ≈ 0.0001% of males
Protanomaly #4d65ad ≈ 1.08% of males
Deuteranomaly #4b62aa ≈ 4.63% of males
Tritanomaly #4d6991 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5c5fab {
  color: #5c5fab;
}
Background
.bg-5c5fab {
  background-color: #5c5fab;
  color: #ffffff;
}
Border
.border-5c5fab {
  border: 2px solid #5c5fab;
}
CSS variables
:root {
  --color-primary: #5c5fab;
  --color-primary-rgb: 92 95 171;
  --color-primary-hsl: 238 32% 52%;
}
Gradient
.gradient-5c5fab {
  background: linear-gradient(135deg, #5c5fab, #815cab);
}
Colored shadow
.shadow-5c5fab {
  box-shadow: 0 8px 24px rgb(92 95 171 / 0.35);
}

Slate Blue
#5c5fab  rgb(92, 95, 171)  hsl(238, 32%, 52%)  Slate Blue
#aba85c  rgb(171, 168, 92)  hsl(58, 32%, 52%)  Dark Khaki
#ab5c5f  rgb(171, 92, 95)  hsl(358, 32%, 52%)  Redwood
#5fab5c  rgb(95, 171, 92)  hsl(118, 32%, 52%)  Medium Sea Green