#4864CB

#4864cb ≈ Royal Blue

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

#4864cb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 28.24% red, 39.22% green and 79.61% blue; printed in CMYK it uses 64.53% cyan, 50.74% magenta, 0% yellow and 20.39% black. Its hue angle is 227.18°, with 55.74% saturation and 53.92% 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.3:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 3.31.

Description generated from the measured properties of this color.

Conversions of #4864cb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3366cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.148

Readable text 5.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #5f689b ≈ 0.001% of males
Protanopia #2872cf ≈ 1.01% of males
Deuteranopia #0066c9 ≈ 1.27% of males
Tritanopia #007c8e ≈ 0.0001% of males
Protanomaly #386ccd ≈ 1.08% of males
Deuteranomaly #2b65ca ≈ 4.63% of males
Tritanomaly #0f73aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4864cb {
  color: #4864cb;
}
Background
.bg-4864cb {
  background-color: #4864cb;
  color: #ffffff;
}
Border
.border-4864cb {
  border: 2px solid #4864cb;
}
CSS variables
:root {
  --color-primary: #4864cb;
  --color-primary-rgb: 72 100 203;
  --color-primary-hsl: 227 56% 54%;
}
Gradient
.gradient-4864cb {
  background: linear-gradient(135deg, #4864cb, #6e48cb);
}
Colored shadow
.shadow-4864cb {
  box-shadow: 0 8px 24px rgb(72 100 203 / 0.35);
}

Royal Blue
#4864cb  rgb(72, 100, 203)  hsl(227, 56%, 54%)  Royal Blue
#cbaf48  rgb(203, 175, 72)  hsl(47, 56%, 54%)  Old Gold
#cb4864  rgb(203, 72, 100)  hsl(347, 56%, 54%)  Cerise
#64cb48  rgb(100, 203, 72)  hsl(107, 56%, 54%)  Lime Green