#1E166B

#1e166b ≈ Midnight Blue

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

#1e166b is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 11.76% red, 8.63% green and 41.96% blue; printed in CMYK it uses 71.96% cyan, 79.44% magenta, 0% yellow and 58.04% black. Its hue angle is 245.65°, with 65.89% saturation and 25.29% 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.19:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.31.

Description generated from the measured properties of this color.

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

Readable text 15.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #262626 ≈ 0.003% of males
Achromatomaly #23204b ≈ 0.001% of males
Protanopia #00296d ≈ 1.01% of males
Deuteranopia #002269 ≈ 1.27% of males
Tritanopia #002f3f ≈ 0.0001% of males
Protanomaly #00236c ≈ 1.08% of males
Deuteranomaly #001e6a ≈ 4.63% of males
Tritanomaly #002754 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1e166b {
  color: #1e166b;
}
Background
.bg-1e166b {
  background-color: #1e166b;
  color: #ffffff;
}
Border
.border-1e166b {
  border: 2px solid #1e166b;
}
CSS variables
:root {
  --color-primary: #1e166b;
  --color-primary-rgb: 30 22 107;
  --color-primary-hsl: 246 66% 25%;
}
Gradient
.gradient-1e166b {
  background: linear-gradient(135deg, #1e166b, #48166b);
}
Colored shadow
.shadow-1e166b {
  box-shadow: 0 8px 24px rgb(30 22 107 / 0.35);
}

Midnight Blue
#1e166b  rgb(30, 22, 107)  hsl(246, 66%, 25%)  Midnight Blue
#636b16  rgb(99, 107, 22)  hsl(66, 66%, 25%)  Dark Olive Green
#6b1e16  rgb(107, 30, 22)  hsl(6, 66%, 25%)  Falu Red
#166b1e  rgb(22, 107, 30)  hsl(126, 66%, 25%)  Pakistan Green