#040E55

#040e55 ≈ Midnight Blue

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

#040e55 is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 5.49% green and 33.33% blue; printed in CMYK it uses 95.29% cyan, 83.53% magenta, 0% yellow and 66.67% black. Its hue angle is 232.59°, with 91.01% saturation and 17.45% 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 17.51:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.96.

Description generated from the measured properties of this color.

Conversions of #040e55 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#000066
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.01

Readable text 17.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #191919 ≈ 0.003% of males
Achromatomaly #13153a ≈ 0.001% of males
Protanopia #001d57 ≈ 1.01% of males
Deuteranopia #001554 ≈ 1.27% of males
Tritanopia #002431 ≈ 0.0001% of males
Protanomaly #001856 ≈ 1.08% of males
Deuteranomaly #001354 ≈ 4.63% of males
Tritanomaly #001d42 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040e55 {
  color: #040e55;
}
Background
.bg-040e55 {
  background-color: #040e55;
  color: #ffffff;
}
Border
.border-040e55 {
  border: 2px solid #040e55;
}
CSS variables
:root {
  --color-primary: #040e55;
  --color-primary-rgb: 4 14 85;
  --color-primary-hsl: 233 91% 17%;
}
Gradient
.gradient-040e55 {
  background: linear-gradient(135deg, #040e55, #220455);
}
Colored shadow
.shadow-040e55 {
  box-shadow: 0 8px 24px rgb(4 14 85 / 0.35);
}

Midnight Blue
#040e55  rgb(4, 14, 85)  hsl(233, 91%, 17%)  Midnight Blue
#554b04  rgb(85, 75, 4)  hsl(53, 91%, 17%)  Field Drab
#55040e  rgb(85, 4, 14)  hsl(353, 91%, 17%)  Rosewood
#0e5504  rgb(14, 85, 4)  hsl(113, 91%, 17%)  Lincoln Green