#5157AD

#5157ad ≈ Iris

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

#5157ad is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.76% red, 34.12% green and 67.84% blue; printed in CMYK it uses 53.18% cyan, 49.71% magenta, 0% yellow and 32.16% black. Its hue angle is 236.09°, with 36.22% saturation and 49.8% 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.33:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 6.16.

Description generated from the measured properties of this color.

Conversions of #5157ad 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.1158

Readable text 6.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #5a5c86 ≈ 0.001% of males
Protanopia #2e63b0 ≈ 1.01% of males
Deuteranopia #235cab ≈ 1.27% of males
Tritanopia #286a7a ≈ 0.0001% of males
Protanomaly #3f5faf ≈ 1.08% of males
Deuteranomaly #3b5aac ≈ 4.63% of males
Tritanomaly #3c6391 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5157ad {
  color: #5157ad;
}
Background
.bg-5157ad {
  background-color: #5157ad;
  color: #ffffff;
}
Border
.border-5157ad {
  border: 2px solid #5157ad;
}
CSS variables
:root {
  --color-primary: #5157ad;
  --color-primary-rgb: 81 87 173;
  --color-primary-hsl: 236 36% 50%;
}
Gradient
.gradient-5157ad {
  background: linear-gradient(135deg, #5157ad, #7951ad);
}
Colored shadow
.shadow-5157ad {
  box-shadow: 0 8px 24px rgb(81 87 173 / 0.35);
}

Iris
#5157ad  rgb(81, 87, 173)  hsl(236, 36%, 50%)  Iris
#ada751  rgb(173, 167, 81)  hsl(56, 36%, 50%)  Brass
#ad5157  rgb(173, 81, 87)  hsl(356, 36%, 50%)  Redwood
#57ad51  rgb(87, 173, 81)  hsl(116, 36%, 50%)  Mantis