#162172

#162172 ≈ Midnight Blue

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

#162172 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 8.63% red, 12.94% green and 44.71% blue; printed in CMYK it uses 80.7% cyan, 71.05% magenta, 0% yellow and 55.29% black. Its hue angle is 232.83°, with 67.65% saturation and 26.67% 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 14.05:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.48.

Description generated from the measured properties of this color.

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

Readable text 14.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2c2c2c ≈ 0.003% of males
Achromatomaly #242851 ≈ 0.001% of males
Protanopia #003074 ≈ 1.01% of males
Deuteranopia #002771 ≈ 1.27% of males
Tritanopia #003746 ≈ 0.0001% of males
Protanomaly #002b74 ≈ 1.08% of males
Deuteranomaly #002571 ≈ 4.63% of males
Tritanomaly #00305b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-162172 {
  color: #162172;
}
Background
.bg-162172 {
  background-color: #162172;
  color: #ffffff;
}
Border
.border-162172 {
  border: 2px solid #162172;
}
CSS variables
:root {
  --color-primary: #162172;
  --color-primary-rgb: 22 33 114;
  --color-primary-hsl: 233 68% 27%;
}
Gradient
.gradient-162172 {
  background: linear-gradient(135deg, #162172, #391672);
}
Colored shadow
.shadow-162172 {
  box-shadow: 0 8px 24px rgb(22 33 114 / 0.35);
}

Midnight Blue
#162172  rgb(22, 33, 114)  hsl(233, 68%, 27%)  Midnight Blue
#726716  rgb(114, 103, 22)  hsl(53, 68%, 27%)  Field Drab
#721621  rgb(114, 22, 33)  hsl(353, 68%, 27%)  Burgundy
#217216  rgb(33, 114, 22)  hsl(113, 68%, 27%)  Pakistan Green