#6871CF

#6871cf ≈ Royal Blue

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

#6871cf is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 40.78% red, 44.31% green and 81.18% blue; printed in CMYK it uses 49.76% cyan, 45.41% magenta, 0% yellow and 18.82% black. Its hue angle is 234.76°, with 51.76% saturation and 60.98% 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.85:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 6.19.

Description generated from the measured properties of this color.

Conversions of #6871cf 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.1926

Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #7376a3 ≈ 0.001% of males
Protanopia #497ed2 ≈ 1.01% of males
Deuteranopia #4075cd ≈ 1.27% of males
Tritanopia #3f8596 ≈ 0.0001% of males
Protanomaly #5779d1 ≈ 1.08% of males
Deuteranomaly #5374ce ≈ 4.63% of males
Tritanomaly #527eb0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6871cf {
  color: #6871cf;
}
Background
.bg-6871cf {
  background-color: #6871cf;
  color: #000000;
}
Border
.border-6871cf {
  border: 2px solid #6871cf;
}
CSS variables
:root {
  --color-primary: #6871cf;
  --color-primary-rgb: 104 113 207;
  --color-primary-hsl: 235 52% 61%;
}
Gradient
.gradient-6871cf {
  background: linear-gradient(135deg, #6871cf, #9368cf);
}
Colored shadow
.shadow-6871cf {
  box-shadow: 0 8px 24px rgb(104 113 207 / 0.35);
}

Royal Blue
#6871cf  rgb(104, 113, 207)  hsl(235, 52%, 61%)  Royal Blue
#cfc668  rgb(207, 198, 104)  hsl(55, 52%, 61%)  Straw
#cf6871  rgb(207, 104, 113)  hsl(355, 52%, 61%)  Indian Red
#71cf68  rgb(113, 207, 104)  hsl(115, 52%, 61%)  Mantis