#170B4E

#170b4e ≈ Midnight Blue

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

#170b4e is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 9.02% red, 4.31% green and 30.59% blue; printed in CMYK it uses 70.51% cyan, 85.9% magenta, 0% yellow and 69.41% black. Its hue angle is 250.75°, with 75.28% saturation and 17.45% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 17.58:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.29.

Description generated from the measured properties of this color.

Conversions of #170b4e 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.0097

Readable text 17.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #191919 ≈ 0.003% of males
Achromatomaly #181436 ≈ 0.001% of males
Protanopia #001b50 ≈ 1.01% of males
Deuteranopia #00164d ≈ 1.27% of males
Tritanopia #001f2c ≈ 0.0001% of males
Protanomaly #00164f ≈ 1.08% of males
Deuteranomaly #00134d ≈ 4.63% of males
Tritanomaly #05193c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-170b4e {
  color: #170b4e;
}
Background
.bg-170b4e {
  background-color: #170b4e;
  color: #ffffff;
}
Border
.border-170b4e {
  border: 2px solid #170b4e;
}
CSS variables
:root {
  --color-primary: #170b4e;
  --color-primary-rgb: 23 11 78;
  --color-primary-hsl: 251 75% 17%;
}
Gradient
.gradient-170b4e {
  background: linear-gradient(135deg, #170b4e, #390b4e);
}
Colored shadow
.shadow-170b4e {
  box-shadow: 0 8px 24px rgb(23 11 78 / 0.35);
}

Midnight Blue
#170b4e  rgb(23, 11, 78)  hsl(251, 75%, 17%)  Midnight Blue
#424e0b  rgb(66, 78, 11)  hsl(71, 75%, 17%)  Army Green
#4e170b  rgb(78, 23, 11)  hsl(11, 75%, 17%)  Caput Mortuum
#0b4e17  rgb(11, 78, 23)  hsl(131, 75%, 17%)  Lincoln Green