#171CD4

#171cd4 ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#171cd4 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 9.02% red, 10.98% green and 83.14% blue; printed in CMYK it uses 89.15% cyan, 86.79% magenta, 0% yellow and 16.86% black. Its hue angle is 238.41°, with 80.43% saturation and 46.08% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 9.75:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.21.

Description generated from the measured properties of this color.

Conversions of #171cd4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0033cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0577

Readable text 9.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #444444 ≈ 0.003% of males
Achromatomaly #373894 ≈ 0.001% of males
Protanopia #004ed9 ≈ 1.01% of males
Deuteranopia #0039d1 ≈ 1.27% of males
Tritanopia #005c7e ≈ 0.0001% of males
Protanomaly #003fd7 ≈ 1.08% of males
Deuteranomaly #0030d2 ≈ 4.63% of males
Tritanomaly #004aa7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-171cd4 {
  color: #171cd4;
}
Background
.bg-171cd4 {
  background-color: #171cd4;
  color: #ffffff;
}
Border
.border-171cd4 {
  border: 2px solid #171cd4;
}
CSS variables
:root {
  --color-primary: #171cd4;
  --color-primary-rgb: 23 28 212;
  --color-primary-hsl: 238 80% 46%;
}
Gradient
.gradient-171cd4 {
  background: linear-gradient(135deg, #171cd4, #7017d4);
}
Colored shadow
.shadow-171cd4 {
  box-shadow: 0 8px 24px rgb(23 28 212 / 0.35);
}

Medium Blue
#171cd4  rgb(23, 28, 212)  hsl(238, 80%, 46%)  Medium Blue
#d4cf17  rgb(212, 207, 23)  hsl(58, 80%, 46%)  Citrine
#d4171c  rgb(212, 23, 28)  hsl(358, 80%, 46%)  Lava
#1cd417  rgb(28, 212, 23)  hsl(118, 80%, 46%)  Lime Green