#031A67

#031a67 ≈ Midnight Blue

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

#031a67 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.18% red, 10.2% green and 40.39% blue; printed in CMYK it uses 97.09% cyan, 74.76% magenta, 0% yellow and 59.61% black. Its hue angle is 226.2°, with 94.34% saturation and 20.78% 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.58:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.72.

Description generated from the measured properties of this color.

Conversions of #031a67 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.0174

Readable text 15.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #242424 ≈ 0.003% of males
Achromatomaly #1b2048 ≈ 0.001% of males
Protanopia #002869 ≈ 1.01% of males
Deuteranopia #001f66 ≈ 1.27% of males
Tritanopia #00303e ≈ 0.0001% of males
Protanomaly #002368 ≈ 1.08% of males
Deuteranomaly #001d66 ≈ 4.63% of males
Tritanomaly #002951 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-031a67 {
  color: #031a67;
}
Background
.bg-031a67 {
  background-color: #031a67;
  color: #ffffff;
}
Border
.border-031a67 {
  border: 2px solid #031a67;
}
CSS variables
:root {
  --color-primary: #031a67;
  --color-primary-rgb: 3 26 103;
  --color-primary-hsl: 226 94% 21%;
}
Gradient
.gradient-031a67 {
  background: linear-gradient(135deg, #031a67, #1e0367);
}
Colored shadow
.shadow-031a67 {
  box-shadow: 0 8px 24px rgb(3 26 103 / 0.35);
}

Midnight Blue
#031a67  rgb(3, 26, 103)  hsl(226, 94%, 21%)  Midnight Blue
#675003  rgb(103, 80, 3)  hsl(46, 94%, 21%)  Field Drab
#67031a  rgb(103, 3, 26)  hsl(346, 94%, 21%)  Rosewood
#1a6703  rgb(26, 103, 3)  hsl(106, 94%, 21%)  Pakistan Green