#031E71

#031e71 ≈ Midnight Blue

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

#031e71 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.18% red, 11.76% green and 44.31% blue; printed in CMYK it uses 97.35% cyan, 73.45% magenta, 0% yellow and 55.69% black. Its hue angle is 225.27°, with 94.83% saturation and 22.75% 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.71:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.64.

Description generated from the measured properties of this color.

Conversions of #031e71 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.0214

Readable text 14.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #1e244f ≈ 0.001% of males
Protanopia #002d74 ≈ 1.01% of males
Deuteranopia #002370 ≈ 1.27% of males
Tritanopia #003645 ≈ 0.0001% of males
Protanomaly #002873 ≈ 1.08% of males
Deuteranomaly #002170 ≈ 4.63% of males
Tritanomaly #002e5a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-031e71 {
  color: #031e71;
}
Background
.bg-031e71 {
  background-color: #031e71;
  color: #ffffff;
}
Border
.border-031e71 {
  border: 2px solid #031e71;
}
CSS variables
:root {
  --color-primary: #031e71;
  --color-primary-rgb: 3 30 113;
  --color-primary-hsl: 225 95% 23%;
}
Gradient
.gradient-031e71 {
  background: linear-gradient(135deg, #031e71, #1f0371);
}
Colored shadow
.shadow-031e71 {
  box-shadow: 0 8px 24px rgb(3 30 113 / 0.35);
}

Midnight Blue
#031e71  rgb(3, 30, 113)  hsl(225, 95%, 23%)  Midnight Blue
#715603  rgb(113, 86, 3)  hsl(45, 95%, 23%)  Field Drab
#71031e  rgb(113, 3, 30)  hsl(345, 95%, 23%)  Burgundy
#1e7103  rgb(30, 113, 3)  hsl(105, 95%, 23%)  Pakistan Green