#161E7E

#161e7e ≈ Midnight Blue

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

#161e7e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 8.63% red, 11.76% green and 49.41% blue; printed in CMYK it uses 82.54% cyan, 76.19% magenta, 0% yellow and 50.59% black. Its hue angle is 235.38°, with 70.27% saturation and 29.02% 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.81:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.42.

Description generated from the measured properties of this color.

Conversions of #161e7e 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.0261

Readable text 13.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2d2d2d ≈ 0.003% of males
Achromatomaly #252859 ≈ 0.001% of males
Protanopia #003281 ≈ 1.01% of males
Deuteranopia #00287c ≈ 1.27% of males
Tritanopia #003a4c ≈ 0.0001% of males
Protanomaly #002b80 ≈ 1.08% of males
Deuteranomaly #00247d ≈ 4.63% of males
Tritanomaly #003164 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-161e7e {
  color: #161e7e;
}
Background
.bg-161e7e {
  background-color: #161e7e;
  color: #ffffff;
}
Border
.border-161e7e {
  border: 2px solid #161e7e;
}
CSS variables
:root {
  --color-primary: #161e7e;
  --color-primary-rgb: 22 30 126;
  --color-primary-hsl: 235 70% 29%;
}
Gradient
.gradient-161e7e {
  background: linear-gradient(135deg, #161e7e, #42167e);
}
Colored shadow
.shadow-161e7e {
  box-shadow: 0 8px 24px rgb(22 30 126 / 0.35);
}

Midnight Blue
#161e7e  rgb(22, 30, 126)  hsl(235, 70%, 29%)  Midnight Blue
#7e7616  rgb(126, 118, 22)  hsl(55, 70%, 29%)  Olive
#7e161e  rgb(126, 22, 30)  hsl(355, 70%, 29%)  Falu Red
#1e7e16  rgb(30, 126, 22)  hsl(115, 70%, 29%)  Green