#5A64CB

#5a64cb ≈ Royal Blue

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

#5a64cb is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 35.29% red, 39.22% green and 79.61% blue; printed in CMYK it uses 55.67% cyan, 50.74% magenta, 0% yellow and 20.39% black. Its hue angle is 234.69°, with 52.07% saturation and 57.45% 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.1:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.87.

Description generated from the measured properties of this color.

Conversions of #5a64cb 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.156

Readable text 5.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #676a9c ≈ 0.001% of males
Protanopia #2e73cf ≈ 1.01% of males
Deuteranopia #1b69c9 ≈ 1.27% of males
Tritanopia #1c7b8e ≈ 0.0001% of males
Protanomaly #446dcd ≈ 1.08% of males
Deuteranomaly #3e67ca ≈ 4.63% of males
Tritanomaly #3e73aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a64cb {
  color: #5a64cb;
}
Background
.bg-5a64cb {
  background-color: #5a64cb;
  color: #ffffff;
}
Border
.border-5a64cb {
  border: 2px solid #5a64cb;
}
CSS variables
:root {
  --color-primary: #5a64cb;
  --color-primary-rgb: 90 100 203;
  --color-primary-hsl: 235 52% 57%;
}
Gradient
.gradient-5a64cb {
  background: linear-gradient(135deg, #5a64cb, #885acb);
}
Colored shadow
.shadow-5a64cb {
  box-shadow: 0 8px 24px rgb(90 100 203 / 0.35);
}

Royal Blue
#5a64cb  rgb(90, 100, 203)  hsl(235, 52%, 57%)  Royal Blue
#cbc15a  rgb(203, 193, 90)  hsl(55, 52%, 57%)  Vegas Gold
#cb5a64  rgb(203, 90, 100)  hsl(355, 52%, 57%)  Indian Red
#64cb5a  rgb(100, 203, 90)  hsl(115, 52%, 57%)  Mantis