#01166D

#01166d ≈ Midnight Blue

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

#01166d 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 42.75% blue; printed in CMYK it uses 99.08% cyan, 79.82% magenta, 0% yellow and 57.25% black. Its hue angle is 228.33°, with 98.18% saturation and 21.57% 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.71:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.83.

Description generated from the measured properties of this color.

Conversions of #01166d 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.0168

Readable text 15.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #232323 ≈ 0.003% of males
Achromatomaly #1a1e4b ≈ 0.001% of males
Protanopia #00286f ≈ 1.01% of males
Deuteranopia #001e6c ≈ 1.27% of males
Tritanopia #003040 ≈ 0.0001% of males
Protanomaly #00226f ≈ 1.08% of males
Deuteranomaly #001b6c ≈ 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-01166d {
  color: #01166d;
}
Background
.bg-01166d {
  background-color: #01166d;
  color: #ffffff;
}
Border
.border-01166d {
  border: 2px solid #01166d;
}
CSS variables
:root {
  --color-primary: #01166d;
  --color-primary-rgb: 1 22 109;
  --color-primary-hsl: 228 98% 22%;
}
Gradient
.gradient-01166d {
  background: linear-gradient(135deg, #01166d, #22016d);
}
Colored shadow
.shadow-01166d {
  box-shadow: 0 8px 24px rgb(1 22 109 / 0.35);
}

Midnight Blue
#01166d  rgb(1, 22, 109)  hsl(228, 98%, 22%)  Midnight Blue
#6d5801  rgb(109, 88, 1)  hsl(48, 98%, 22%)  Field Drab
#6d0116  rgb(109, 1, 22)  hsl(348, 98%, 22%)  Rosewood
#166d01  rgb(22, 109, 1)  hsl(108, 98%, 22%)  Pakistan Green