#161E7A

#161e7a ≈ Midnight Blue

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

#161e7a 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 47.84% blue; printed in CMYK it uses 81.97% cyan, 75.41% magenta, 0% yellow and 52.16% black. Its hue angle is 235.2°, with 69.44% saturation and 28.24% 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.99:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.95.

Description generated from the measured properties of this color.

Conversions of #161e7a 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.025

Readable text 13.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2c2c2c ≈ 0.003% of males
Achromatomaly #252756 ≈ 0.001% of males
Protanopia #00317d ≈ 1.01% of males
Deuteranopia #002778 ≈ 1.27% of males
Tritanopia #00384a ≈ 0.0001% of males
Protanomaly #002a7c ≈ 1.08% of males
Deuteranomaly #002479 ≈ 4.63% of males
Tritanomaly #003061 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-161e7a {
  color: #161e7a;
}
Background
.bg-161e7a {
  background-color: #161e7a;
  color: #ffffff;
}
Border
.border-161e7a {
  border: 2px solid #161e7a;
}
CSS variables
:root {
  --color-primary: #161e7a;
  --color-primary-rgb: 22 30 122;
  --color-primary-hsl: 235 69% 28%;
}
Gradient
.gradient-161e7a {
  background: linear-gradient(135deg, #161e7a, #40167a);
}
Colored shadow
.shadow-161e7a {
  box-shadow: 0 8px 24px rgb(22 30 122 / 0.35);
}

Midnight Blue
#161e7a  rgb(22, 30, 122)  hsl(235, 69%, 28%)  Midnight Blue
#7a7216  rgb(122, 114, 22)  hsl(55, 69%, 28%)  Olive
#7a161e  rgb(122, 22, 30)  hsl(355, 69%, 28%)  Burgundy
#1e7a16  rgb(30, 122, 22)  hsl(115, 69%, 28%)  Green