#172180

#172180 ≈ Midnight Blue

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

#172180 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 9.02% red, 12.94% green and 50.2% blue; printed in CMYK it uses 82.03% cyan, 74.22% magenta, 0% yellow and 49.8% black. Its hue angle is 234.29°, with 69.54% saturation and 29.61% 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 13.41:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.04.

Description generated from the measured properties of this color.

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

Readable text 13.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2f2f2f ≈ 0.003% of males
Achromatomaly #272a5a ≈ 0.001% of males
Protanopia #003483 ≈ 1.01% of males
Deuteranopia #002a7e ≈ 1.27% of males
Tritanopia #003c4e ≈ 0.0001% of males
Protanomaly #002d82 ≈ 1.08% of males
Deuteranomaly #00267f ≈ 4.63% of males
Tritanomaly #003366 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-172180 {
  color: #172180;
}
Background
.bg-172180 {
  background-color: #172180;
  color: #ffffff;
}
Border
.border-172180 {
  border: 2px solid #172180;
}
CSS variables
:root {
  --color-primary: #172180;
  --color-primary-rgb: 23 33 128;
  --color-primary-hsl: 234 70% 30%;
}
Gradient
.gradient-172180 {
  background: linear-gradient(135deg, #172180, #421780);
}
Colored shadow
.shadow-172180 {
  box-shadow: 0 8px 24px rgb(23 33 128 / 0.35);
}

Midnight Blue
#172180  rgb(23, 33, 128)  hsl(234, 70%, 30%)  Midnight Blue
#807617  rgb(128, 118, 23)  hsl(54, 70%, 30%)  Olive
#801721  rgb(128, 23, 33)  hsl(354, 70%, 30%)  Burgundy
#218017  rgb(33, 128, 23)  hsl(114, 70%, 30%)  Green