#505FF5

#505ff5 ≈ Ultramarine Blue

  • blue
  • Lightness: high
  • Saturation: strong
  • Cool

#505ff5 is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 31.37% red, 37.25% green and 96.08% blue; printed in CMYK it uses 67.35% cyan, 61.22% magenta, 0% yellow and 3.92% black. Its hue angle is 234.55°, with 89.19% saturation and 63.73% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.89:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.

Description generated from the measured properties of this color.

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

Readable text 4.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.3:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #656ab5 ≈ 0.001% of males
Protanopia #0079fa ≈ 1.01% of males
Deuteranopia #006af2 ≈ 1.27% of males
Tritanopia #0085a1 ≈ 0.0001% of males
Protanomaly #006ff8 ≈ 1.08% of males
Deuteranomaly #0065f3 ≈ 4.63% of males
Tritanomaly #0078c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-505ff5 {
  color: #505ff5;
}
Background
.bg-505ff5 {
  background-color: #505ff5;
  color: #ffffff;
}
Border
.border-505ff5 {
  border: 2px solid #505ff5;
}
CSS variables
:root {
  --color-primary: #505ff5;
  --color-primary-rgb: 80 95 245;
  --color-primary-hsl: 235 89% 64%;
}
Gradient
.gradient-505ff5 {
  background: linear-gradient(135deg, #505ff5, #9450f5);
}
Colored shadow
.shadow-505ff5 {
  box-shadow: 0 8px 24px rgb(80 95 245 / 0.35);
}

Ultramarine Blue
#505ff5  rgb(80, 95, 245)  hsl(235, 89%, 64%)  Ultramarine Blue
#f5e650  rgb(245, 230, 80)  hsl(55, 89%, 64%)  Dandelion
#f5505f  rgb(245, 80, 95)  hsl(355, 89%, 64%)  Neon Fuchsia
#5ff550  rgb(95, 245, 80)  hsl(115, 89%, 64%)  Neon Green