#012571

#012571 ≈ Midnight Blue

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

#012571 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.39% red, 14.51% green and 44.31% blue; printed in CMYK it uses 99.12% cyan, 67.26% magenta, 0% yellow and 55.69% black. Its hue angle is 220.71°, with 98.25% saturation and 22.35% 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 13.96:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.91.

Description generated from the measured properties of this color.

Conversions of #012571 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.0252

Readable text 13.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2c2c2c ≈ 0.003% of males
Achromatomaly #212950 ≈ 0.001% of males
Protanopia #003173 ≈ 1.01% of males
Deuteranopia #002770 ≈ 1.27% of males
Tritanopia #003947 ≈ 0.0001% of males
Protanomaly #002d72 ≈ 1.08% of males
Deuteranomaly #002670 ≈ 4.63% of males
Tritanomaly #00325b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#012571  rgb(1, 37, 113)  hsl(221, 98%, 22%)  Midnight Blue
#714d01  rgb(113, 77, 1)  hsl(41, 98%, 22%)  Field Drab
#710125  rgb(113, 1, 37)  hsl(341, 98%, 22%)  Claret
#257101  rgb(37, 113, 1)  hsl(101, 98%, 22%)  Pakistan Green