#5170BC

#5170bc ≈ Royal Blue

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

#5170bc is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.76% red, 43.92% green and 73.73% blue; printed in CMYK it uses 56.91% cyan, 40.43% magenta, 0% yellow and 26.27% black. Its hue angle is 222.62°, with 44.4% saturation and 52.75% 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.78:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 5.03.

Description generated from the measured properties of this color.

Conversions of #5170bc 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.1697

Readable text 4.78:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #677196 ≈ 0.001% of males
Protanopia #5078bf ≈ 1.01% of males
Deuteranopia #426eba ≈ 1.27% of males
Tritanopia #03818d ≈ 0.0001% of males
Protanomaly #5075be ≈ 1.08% of males
Deuteranomaly #496fbb ≈ 4.63% of males
Tritanomaly #337aa2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5170bc {
  color: #5170bc;
}
Background
.bg-5170bc {
  background-color: #5170bc;
  color: #ffffff;
}
Border
.border-5170bc {
  border: 2px solid #5170bc;
}
CSS variables
:root {
  --color-primary: #5170bc;
  --color-primary-rgb: 81 112 188;
  --color-primary-hsl: 223 44% 53%;
}
Gradient
.gradient-5170bc {
  background: linear-gradient(135deg, #5170bc, #6851bc);
}
Colored shadow
.shadow-5170bc {
  box-shadow: 0 8px 24px rgb(81 112 188 / 0.35);
}

Royal Blue
#5170bc  rgb(81, 112, 188)  hsl(223, 44%, 53%)  Royal Blue
#bc9d51  rgb(188, 157, 81)  hsl(43, 44%, 53%)  Brass
#bc5170  rgb(188, 81, 112)  hsl(343, 44%, 53%)  Telemagenta
#70bc51  rgb(112, 188, 81)  hsl(103, 44%, 53%)  Mantis