#5F71CD

#5f71cd ≈ Royal Blue

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

#5f71cd is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 44.31% green and 80.39% blue; printed in CMYK it uses 53.66% cyan, 44.88% magenta, 0% yellow and 19.61% black. Its hue angle is 230.18°, with 52.38% saturation and 58.82% 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 4.73: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 #5f71cd 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.1865

Readable text 4.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #6f75a1 ≈ 0.001% of males
Protanopia #497dd0 ≈ 1.01% of males
Deuteranopia #3c73cb ≈ 1.27% of males
Tritanopia #298595 ≈ 0.0001% of males
Protanomaly #5378cf ≈ 1.08% of males
Deuteranomaly #4c72cc ≈ 4.63% of males
Tritanomaly #457eae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f71cd {
  color: #5f71cd;
}
Background
.bg-5f71cd {
  background-color: #5f71cd;
  color: #000000;
}
Border
.border-5f71cd {
  border: 2px solid #5f71cd;
}
CSS variables
:root {
  --color-primary: #5f71cd;
  --color-primary-rgb: 95 113 205;
  --color-primary-hsl: 230 52% 59%;
}
Gradient
.gradient-5f71cd {
  background: linear-gradient(135deg, #5f71cd, #845fcd);
}
Colored shadow
.shadow-5f71cd {
  box-shadow: 0 8px 24px rgb(95 113 205 / 0.35);
}

Royal Blue
#5f71cd  rgb(95, 113, 205)  hsl(230, 52%, 59%)  Royal Blue
#cdbb5f  rgb(205, 187, 95)  hsl(50, 52%, 59%)  Vegas Gold
#cd5f71  rgb(205, 95, 113)  hsl(350, 52%, 59%)  Blush
#71cd5f  rgb(113, 205, 95)  hsl(110, 52%, 59%)  Mantis