#01166F

#01166f ≈ Midnight Blue

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

#01166f is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.39% red, 8.63% green and 43.53% blue; printed in CMYK it uses 99.1% cyan, 80.18% magenta, 0% yellow and 56.47% black. Its hue angle is 228.55°, with 98.21% saturation and 21.96% 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.61:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.75.

Description generated from the measured properties of this color.

Conversions of #01166f 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.0173

Readable text 15.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #242424 ≈ 0.003% of males
Achromatomaly #1a1f4d ≈ 0.001% of males
Protanopia #002972 ≈ 1.01% of males
Deuteranopia #001e6d ≈ 1.27% of males
Tritanopia #003142 ≈ 0.0001% of males
Protanomaly #002371 ≈ 1.08% of males
Deuteranomaly #001b6e ≈ 4.63% of males
Tritanomaly #002957 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-01166f {
  color: #01166f;
}
Background
.bg-01166f {
  background-color: #01166f;
  color: #ffffff;
}
Border
.border-01166f {
  border: 2px solid #01166f;
}
CSS variables
:root {
  --color-primary: #01166f;
  --color-primary-rgb: 1 22 111;
  --color-primary-hsl: 229 98% 22%;
}
Gradient
.gradient-01166f {
  background: linear-gradient(135deg, #01166f, #23016f);
}
Colored shadow
.shadow-01166f {
  box-shadow: 0 8px 24px rgb(1 22 111 / 0.35);
}

Midnight Blue
#01166f  rgb(1, 22, 111)  hsl(229, 98%, 22%)  Midnight Blue
#6f5a01  rgb(111, 90, 1)  hsl(49, 98%, 22%)  Field Drab
#6f0116  rgb(111, 1, 22)  hsl(349, 98%, 22%)  Rosewood
#166f01  rgb(22, 111, 1)  hsl(109, 98%, 22%)  Pakistan Green