#505CFB

#505cfb ≈ Ultramarine Blue

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

#505cfb is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 31.37% red, 36.08% green and 98.43% blue; printed in CMYK it uses 68.13% cyan, 63.35% magenta, 0% yellow and 1.57% black. Its hue angle is 235.79°, with 95.53% saturation and 64.9% 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.92:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.88.

Description generated from the measured properties of this color.

Conversions of #505cfb 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.1632

Readable text 4.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #6569b9 ≈ 0.001% of males
Protanopia #0078ff ≈ 1.01% of males
Deuteranopia #0069f8 ≈ 1.27% of males
Tritanopia #0085a3 ≈ 0.0001% of males
Protanomaly #006efe ≈ 1.08% of males
Deuteranomaly #0064f9 ≈ 4.63% of males
Tritanomaly #0077cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-505cfb {
  color: #505cfb;
}
Background
.bg-505cfb {
  background-color: #505cfb;
  color: #ffffff;
}
Border
.border-505cfb {
  border: 2px solid #505cfb;
}
CSS variables
:root {
  --color-primary: #505cfb;
  --color-primary-rgb: 80 92 251;
  --color-primary-hsl: 236 96% 65%;
}
Gradient
.gradient-505cfb {
  background: linear-gradient(135deg, #505cfb, #9950fb);
}
Colored shadow
.shadow-505cfb {
  box-shadow: 0 8px 24px rgb(80 92 251 / 0.35);
}

Ultramarine Blue
#505cfb  rgb(80, 92, 251)  hsl(236, 96%, 65%)  Ultramarine Blue
#fbef50  rgb(251, 239, 80)  hsl(56, 96%, 65%)  Icterine
#fb505c  rgb(251, 80, 92)  hsl(356, 96%, 65%)  Neon Fuchsia
#5cfb50  rgb(92, 251, 80)  hsl(116, 96%, 65%)  Neon Green