#161A52

#161a52 ≈ Midnight Blue

  • blue
  • Lightness: low
  • Saturation: muted
  • Cool

#161a52 is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 8.63% red, 10.2% green and 32.16% blue; printed in CMYK it uses 73.17% cyan, 68.29% magenta, 0% yellow and 67.84% black. Its hue angle is 236°, with 57.69% saturation and 20.39% 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 16.11:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.94.

Description generated from the measured properties of this color.

Conversions of #161a52 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.0152

Readable text 16.11:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #212121 ≈ 0.003% of males
Achromatomaly #1d1e3a ≈ 0.001% of males
Protanopia #002454 ≈ 1.01% of males
Deuteranopia #001e51 ≈ 1.27% of males
Tritanopia #002833 ≈ 0.0001% of males
Protanomaly #002053 ≈ 1.08% of males
Deuteranomaly #001d51 ≈ 4.63% of males
Tritanomaly #002341 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-161a52 {
  color: #161a52;
}
Background
.bg-161a52 {
  background-color: #161a52;
  color: #ffffff;
}
Border
.border-161a52 {
  border: 2px solid #161a52;
}
CSS variables
:root {
  --color-primary: #161a52;
  --color-primary-rgb: 22 26 82;
  --color-primary-hsl: 236 58% 20%;
}
Gradient
.gradient-161a52 {
  background: linear-gradient(135deg, #161a52, #301652);
}
Colored shadow
.shadow-161a52 {
  box-shadow: 0 8px 24px rgb(22 26 82 / 0.35);
}

Midnight Blue
#161a52  rgb(22, 26, 82)  hsl(236, 58%, 20%)  Midnight Blue
#524e16  rgb(82, 78, 22)  hsl(56, 58%, 20%)  Army Green
#52161a  rgb(82, 22, 26)  hsl(356, 58%, 20%)  Caput Mortuum
#1a5216  rgb(26, 82, 22)  hsl(116, 58%, 20%)  Lincoln Green