#5271C4

#5271c4 ≈ Royal Blue

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

#5271c4 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 32.16% red, 44.31% green and 76.86% blue; printed in CMYK it uses 58.16% cyan, 42.35% magenta, 0% yellow and 23.14% black. Its hue angle is 223.68°, with 49.14% saturation and 54.51% 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 4.65:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.41.

Description generated from the measured properties of this color.

Conversions of #5271c4 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.1759

Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #68739b ≈ 0.001% of males
Protanopia #4d7ac7 ≈ 1.01% of males
Deuteranopia #3d70c2 ≈ 1.27% of males
Tritanopia #008391 ≈ 0.0001% of males
Protanomaly #4f76c6 ≈ 1.08% of males
Deuteranomaly #4670c3 ≈ 4.63% of males
Tritanomaly #317ca8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5271c4 {
  color: #5271c4;
}
Background
.bg-5271c4 {
  background-color: #5271c4;
  color: #ffffff;
}
Border
.border-5271c4 {
  border: 2px solid #5271c4;
}
CSS variables
:root {
  --color-primary: #5271c4;
  --color-primary-rgb: 82 113 196;
  --color-primary-hsl: 224 49% 55%;
}
Gradient
.gradient-5271c4 {
  background: linear-gradient(135deg, #5271c4, #6c52c4);
}
Colored shadow
.shadow-5271c4 {
  box-shadow: 0 8px 24px rgb(82 113 196 / 0.35);
}

Royal Blue
#5271c4  rgb(82, 113, 196)  hsl(224, 49%, 55%)  Royal Blue
#c4a552  rgb(196, 165, 82)  hsl(44, 49%, 55%)  Vegas Gold
#c45271  rgb(196, 82, 113)  hsl(344, 49%, 55%)  Telemagenta
#71c452  rgb(113, 196, 82)  hsl(104, 49%, 55%)  Mantis