#170D4E

#170d4e ≈ Midnight Blue

  • blue
  • Lightness: very low
  • Saturation: moderate
  • Cool

#170d4e is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 9.02% red, 5.1% green and 30.59% blue; printed in CMYK it uses 70.51% cyan, 83.33% magenta, 0% yellow and 69.41% black. Its hue angle is 249.23°, with 71.43% saturation and 17.84% 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 luxury branding. White text on this color reaches a contrast ratio of 17.44:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.17.

Description generated from the measured properties of this color.

Conversions of #170d4e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#000066
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0102

Readable text 17.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1a1a1a ≈ 0.003% of males
Achromatomaly #191536 ≈ 0.001% of males
Protanopia #001c50 ≈ 1.01% of males
Deuteranopia #00174d ≈ 1.27% of males
Tritanopia #00202d ≈ 0.0001% of males
Protanomaly #00174f ≈ 1.08% of males
Deuteranomaly #00144d ≈ 4.63% of males
Tritanomaly #051a3d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-170d4e {
  color: #170d4e;
}
Background
.bg-170d4e {
  background-color: #170d4e;
  color: #ffffff;
}
Border
.border-170d4e {
  border: 2px solid #170d4e;
}
CSS variables
:root {
  --color-primary: #170d4e;
  --color-primary-rgb: 23 13 78;
  --color-primary-hsl: 249 71% 18%;
}
Gradient
.gradient-170d4e {
  background: linear-gradient(135deg, #170d4e, #370d4e);
}
Colored shadow
.shadow-170d4e {
  box-shadow: 0 8px 24px rgb(23 13 78 / 0.35);
}

Midnight Blue
#170d4e  rgb(23, 13, 78)  hsl(249, 71%, 18%)  Midnight Blue
#444e0d  rgb(68, 78, 13)  hsl(69, 71%, 18%)  Army Green
#4e170d  rgb(78, 23, 13)  hsl(9, 71%, 18%)  Caput Mortuum
#0d4e17  rgb(13, 78, 23)  hsl(129, 71%, 18%)  Lincoln Green