#505CD8

#505cd8 ≈ Iris

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#505cd8 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 31.37% red, 36.08% green and 84.71% blue; printed in CMYK it uses 62.96% cyan, 57.41% magenta, 0% yellow and 15.29% black. Its hue angle is 234.71°, with 63.55% saturation and 58.04% 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.44:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 4.67.

Description generated from the measured properties of this color.

Conversions of #505cd8 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6666cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1432

Readable text 5.44:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.86:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #6064a2 ≈ 0.001% of males
Protanopia #0070dc ≈ 1.01% of males
Deuteranopia #0064d6 ≈ 1.27% of males
Tritanopia #007a91 ≈ 0.0001% of males
Protanomaly #2968db ≈ 1.08% of males
Deuteranomaly #1b61d7 ≈ 4.63% of males
Tritanomaly #1f6fb2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-505cd8 {
  color: #505cd8;
}
Background
.bg-505cd8 {
  background-color: #505cd8;
  color: #ffffff;
}
Border
.border-505cd8 {
  border: 2px solid #505cd8;
}
CSS variables
:root {
  --color-primary: #505cd8;
  --color-primary-rgb: 80 92 216;
  --color-primary-hsl: 235 64% 58%;
}
Gradient
.gradient-505cd8 {
  background: linear-gradient(135deg, #505cd8, #8850d8);
}
Colored shadow
.shadow-505cd8 {
  box-shadow: 0 8px 24px rgb(80 92 216 / 0.35);
}

Iris
#505cd8  rgb(80, 92, 216)  hsl(235, 64%, 58%)  Iris
#d8cc50  rgb(216, 204, 80)  hsl(55, 64%, 58%)  Straw
#d8505c  rgb(216, 80, 92)  hsl(355, 64%, 58%)  Indian Red
#5cd850  rgb(92, 216, 80)  hsl(115, 64%, 58%)  Malachite