#12166E

#12166e ≈ Midnight Blue

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

#12166e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 7.06% red, 8.63% green and 43.14% blue; printed in CMYK it uses 83.64% cyan, 80% magenta, 0% yellow and 56.86% black. Its hue angle is 237.39°, with 71.88% saturation and 25.1% 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 15.38:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 0.9.

Description generated from the measured properties of this color.

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

Readable text 15.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #252525 ≈ 0.003% of males
Achromatomaly #1f204d ≈ 0.001% of males
Protanopia #002971 ≈ 1.01% of males
Deuteranopia #00206c ≈ 1.27% of males
Tritanopia #003041 ≈ 0.0001% of males
Protanomaly #002370 ≈ 1.08% of males
Deuteranomaly #001c6d ≈ 4.63% of males
Tritanomaly #002856 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-12166e {
  color: #12166e;
}
Background
.bg-12166e {
  background-color: #12166e;
  color: #ffffff;
}
Border
.border-12166e {
  border: 2px solid #12166e;
}
CSS variables
:root {
  --color-primary: #12166e;
  --color-primary-rgb: 18 22 110;
  --color-primary-hsl: 237 72% 25%;
}
Gradient
.gradient-12166e {
  background: linear-gradient(135deg, #12166e, #3c126e);
}
Colored shadow
.shadow-12166e {
  box-shadow: 0 8px 24px rgb(18 22 110 / 0.35);
}

Midnight Blue
#12166e  rgb(18, 22, 110)  hsl(237, 72%, 25%)  Midnight Blue
#6e6a12  rgb(110, 106, 18)  hsl(57, 72%, 25%)  Olive
#6e1216  rgb(110, 18, 22)  hsl(357, 72%, 25%)  Rosewood
#166e12  rgb(22, 110, 18)  hsl(117, 72%, 25%)  Pakistan Green