#031C5E

#031c5e ≈ Midnight Blue

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

#031c5e is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 1.18% red, 10.98% green and 36.86% blue; printed in CMYK it uses 96.81% cyan, 70.21% magenta, 0% yellow and 63.14% black. Its hue angle is 223.52°, with 93.81% saturation and 19.02% 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.77:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.61.

Description generated from the measured properties of this color.

Conversions of #031c5e 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.0166

Readable text 15.77:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #232323 ≈ 0.003% of males
Achromatomaly #1a2042 ≈ 0.001% of males
Protanopia #002760 ≈ 1.01% of males
Deuteranopia #001f5d ≈ 1.27% of males
Tritanopia #002e3a ≈ 0.0001% of males
Protanomaly #00235f ≈ 1.08% of males
Deuteranomaly #001e5d ≈ 4.63% of males
Tritanomaly #00284b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-031c5e {
  color: #031c5e;
}
Background
.bg-031c5e {
  background-color: #031c5e;
  color: #ffffff;
}
Border
.border-031c5e {
  border: 2px solid #031c5e;
}
CSS variables
:root {
  --color-primary: #031c5e;
  --color-primary-rgb: 3 28 94;
  --color-primary-hsl: 224 94% 19%;
}
Gradient
.gradient-031c5e {
  background: linear-gradient(135deg, #031c5e, #18035e);
}
Colored shadow
.shadow-031c5e {
  box-shadow: 0 8px 24px rgb(3 28 94 / 0.35);
}

Midnight Blue
#031c5e  rgb(3, 28, 94)  hsl(224, 94%, 19%)  Midnight Blue
#5e4503  rgb(94, 69, 3)  hsl(44, 94%, 19%)  Field Drab
#5e031c  rgb(94, 3, 28)  hsl(344, 94%, 19%)  Rosewood
#1c5e03  rgb(28, 94, 3)  hsl(104, 94%, 19%)  Lincoln Green