#4171CB

#4171cb ≈ Royal Blue

  • azure
  • Lightness: medium
  • Saturation: strong
  • Cool

#4171cb is a color from the azure family, with medium lightness and strong saturation. In the RGB model it is made of 25.49% red, 44.31% green and 79.61% blue; printed in CMYK it uses 67.98% cyan, 44.33% magenta, 0% yellow and 20.39% black. Its hue angle is 219.13°, with 57.02% saturation and 52.55% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 4.72:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.24.

Description generated from the measured properties of this color.

Conversions of #4171cb 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.1725

Readable text 4.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #63729e ≈ 0.001% of males
Protanopia #457ace ≈ 1.01% of males
Deuteranopia #2c6dc9 ≈ 1.27% of males
Tritanopia #008694 ≈ 0.0001% of males
Protanomaly #4377cd ≈ 1.08% of males
Deuteranomaly #366fca ≈ 4.63% of males
Tritanomaly #007ead ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4171cb {
  color: #4171cb;
}
Background
.bg-4171cb {
  background-color: #4171cb;
  color: #ffffff;
}
Border
.border-4171cb {
  border: 2px solid #4171cb;
}
CSS variables
:root {
  --color-primary: #4171cb;
  --color-primary-rgb: 65 113 203;
  --color-primary-hsl: 219 57% 53%;
}
Gradient
.gradient-4171cb {
  background: linear-gradient(135deg, #4171cb, #5641cb);
}
Colored shadow
.shadow-4171cb {
  box-shadow: 0 8px 24px rgb(65 113 203 / 0.35);
}

Royal Blue
#4171cb  rgb(65, 113, 203)  hsl(219, 57%, 53%)  Royal Blue
#cb9b41  rgb(203, 155, 65)  hsl(39, 57%, 53%)  Goldenrod
#cb4171  rgb(203, 65, 113)  hsl(339, 57%, 53%)  Telemagenta
#71cb41  rgb(113, 203, 65)  hsl(99, 57%, 53%)  Lime Green