#012170

#012170 ≈ Midnight Blue

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

#012170 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.39% red, 12.94% green and 43.92% blue; printed in CMYK it uses 99.11% cyan, 70.54% magenta, 0% yellow and 56.08% black. Its hue angle is 222.7°, with 98.23% saturation and 22.16% 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 14.45:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.68.

Description generated from the measured properties of this color.

Conversions of #012170 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.0226

Readable text 14.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #292929 ≈ 0.003% of males
Achromatomaly #1f264f ≈ 0.001% of males
Protanopia #002f72 ≈ 1.01% of males
Deuteranopia #00246f ≈ 1.27% of males
Tritanopia #003745 ≈ 0.0001% of males
Protanomaly #002a71 ≈ 1.08% of males
Deuteranomaly #00236f ≈ 4.63% of males
Tritanomaly #002f59 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#012170  rgb(1, 33, 112)  hsl(223, 98%, 22%)  Midnight Blue
#705001  rgb(112, 80, 1)  hsl(43, 98%, 22%)  Field Drab
#700121  rgb(112, 1, 33)  hsl(343, 98%, 22%)  Burgundy
#217001  rgb(33, 112, 1)  hsl(103, 98%, 22%)  Pakistan Green