#04095E

#04095e ≈ Midnight Blue

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

#04095e 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, 3.53% green and 36.86% blue; printed in CMYK it uses 95.74% cyan, 90.43% magenta, 0% yellow and 63.14% black. Its hue angle is 236.67°, with 91.84% saturation and 19.22% 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.41:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.39.

Description generated from the measured properties of this color.

Conversions of #04095e 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.0103

Readable text 17.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1a1a1a ≈ 0.003% of males
Achromatomaly #131540 ≈ 0.001% of males
Protanopia #001f60 ≈ 1.01% of males
Deuteranopia #00155d ≈ 1.27% of males
Tritanopia #002635 ≈ 0.0001% of males
Protanomaly #00185f ≈ 1.08% of males
Deuteranomaly #00115d ≈ 4.63% of males
Tritanomaly #001d49 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-04095e {
  color: #04095e;
}
Background
.bg-04095e {
  background-color: #04095e;
  color: #ffffff;
}
Border
.border-04095e {
  border: 2px solid #04095e;
}
CSS variables
:root {
  --color-primary: #04095e;
  --color-primary-rgb: 4 9 94;
  --color-primary-hsl: 237 92% 19%;
}
Gradient
.gradient-04095e {
  background: linear-gradient(135deg, #04095e, #2c045e);
}
Colored shadow
.shadow-04095e {
  box-shadow: 0 8px 24px rgb(4 9 94 / 0.35);
}

Midnight Blue
#04095e  rgb(4, 9, 94)  hsl(237, 92%, 19%)  Midnight Blue
#5e5904  rgb(94, 89, 4)  hsl(57, 92%, 19%)  Army Green
#5e0409  rgb(94, 4, 9)  hsl(357, 92%, 19%)  Rosewood
#095e04  rgb(9, 94, 4)  hsl(117, 92%, 19%)  Lincoln Green