#5A77DC

#5a77dc ≈ Royal Blue

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

#5a77dc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 35.29% red, 46.67% green and 86.27% blue; printed in CMYK it uses 59.09% cyan, 45.91% magenta, 0% yellow and 13.73% black. Its hue angle is 226.62°, with 65% saturation and 60.78% 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. Black text on this color reaches a contrast ratio of 5.11:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 5.17.

Description generated from the measured properties of this color.

Conversions of #5a77dc 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.2053

Readable text 4.11:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.11:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #717bab ≈ 0.001% of males
Protanopia #4783e0 ≈ 1.01% of males
Deuteranopia #3378da ≈ 1.27% of males
Tritanopia #008e9f ≈ 0.0001% of males
Protanomaly #4f7fde ≈ 1.08% of males
Deuteranomaly #4677db ≈ 4.63% of males
Tritanomaly #3385ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a77dc {
  color: #5a77dc;
}
Background
.bg-5a77dc {
  background-color: #5a77dc;
  color: #000000;
}
Border
.border-5a77dc {
  border: 2px solid #5a77dc;
}
CSS variables
:root {
  --color-primary: #5a77dc;
  --color-primary-rgb: 90 119 220;
  --color-primary-hsl: 227 65% 61%;
}
Gradient
.gradient-5a77dc {
  background: linear-gradient(135deg, #5a77dc, #7e5adc);
}
Colored shadow
.shadow-5a77dc {
  box-shadow: 0 8px 24px rgb(90 119 220 / 0.35);
}

Royal Blue
#5a77dc  rgb(90, 119, 220)  hsl(227, 65%, 61%)  Royal Blue
#dcbf5a  rgb(220, 191, 90)  hsl(47, 65%, 61%)  Old Gold
#dc5a77  rgb(220, 90, 119)  hsl(347, 65%, 61%)  Blush
#77dc5a  rgb(119, 220, 90)  hsl(107, 65%, 61%)  Pastel Green