#031D63

#031d63 ≈ Midnight Blue

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

#031d63 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.37% green and 38.82% blue; printed in CMYK it uses 96.97% cyan, 70.71% magenta, 0% yellow and 61.18% black. Its hue angle is 223.75°, with 94.12% saturation and 20% 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.44:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.01.

Description generated from the measured properties of this color.

Conversions of #031d63 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.018

Readable text 15.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #242424 ≈ 0.003% of males
Achromatomaly #1b2246 ≈ 0.001% of males
Protanopia #002965 ≈ 1.01% of males
Deuteranopia #002062 ≈ 1.27% of males
Tritanopia #00303d ≈ 0.0001% of males
Protanomaly #002564 ≈ 1.08% of males
Deuteranomaly #001f62 ≈ 4.63% of males
Tritanomaly #002a4f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#031d63  rgb(3, 29, 99)  hsl(224, 94%, 20%)  Midnight Blue
#634903  rgb(99, 73, 3)  hsl(44, 94%, 20%)  Field Drab
#63031d  rgb(99, 3, 29)  hsl(344, 94%, 20%)  Burgundy
#1d6303  rgb(29, 99, 3)  hsl(104, 94%, 20%)  Dark Green