#505DAB

#505dab ≈ Sapphire

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

#505dab is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.37% red, 36.47% green and 67.06% blue; printed in CMYK it uses 53.22% cyan, 45.61% magenta, 0% yellow and 32.94% black. Its hue angle is 231.43°, with 36.25% saturation and 49.22% 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.01:1 (WCAG AA). The closest named color is Sapphire (#0f52ba), ΔE 7.31.

Description generated from the measured properties of this color.

Conversions of #505dab 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.1247

Readable text 6.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #5c6186 ≈ 0.001% of males
Protanopia #3b67ae ≈ 1.01% of males
Deuteranopia #315fa9 ≈ 1.27% of males
Tritanopia #266e7c ≈ 0.0001% of males
Protanomaly #4463ad ≈ 1.08% of males
Deuteranomaly #405eaa ≈ 4.63% of males
Tritanomaly #3b6891 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-505dab {
  color: #505dab;
}
Background
.bg-505dab {
  background-color: #505dab;
  color: #ffffff;
}
Border
.border-505dab {
  border: 2px solid #505dab;
}
CSS variables
:root {
  --color-primary: #505dab;
  --color-primary-rgb: 80 93 171;
  --color-primary-hsl: 231 36% 49%;
}
Gradient
.gradient-505dab {
  background: linear-gradient(135deg, #505dab, #7150ab);
}
Colored shadow
.shadow-505dab {
  box-shadow: 0 8px 24px rgb(80 93 171 / 0.35);
}

Sapphire
#505dab  rgb(80, 93, 171)  hsl(231, 36%, 49%)  Sapphire
#ab9e50  rgb(171, 158, 80)  hsl(51, 36%, 49%)  Brass
#ab505d  rgb(171, 80, 93)  hsl(351, 36%, 49%)  Brick Red
#5dab50  rgb(93, 171, 80)  hsl(111, 36%, 49%)  Mantis