#041A7C

#041a7c ≈ Midnight Blue

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

#041a7c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 10.2% green and 48.63% blue; printed in CMYK it uses 96.77% cyan, 79.03% magenta, 0% yellow and 51.37% black. Its hue angle is 229°, with 93.75% saturation and 25.1% 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 14.54:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.32.

Description generated from the measured properties of this color.

Conversions of #041a7c 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.0222

Readable text 14.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #292929 ≈ 0.003% of males
Achromatomaly #1f2456 ≈ 0.001% of males
Protanopia #002f7f ≈ 1.01% of males
Deuteranopia #00237a ≈ 1.27% of males
Tritanopia #00384a ≈ 0.0001% of males
Protanomaly #00287e ≈ 1.08% of males
Deuteranomaly #00207b ≈ 4.63% of males
Tritanomaly #002e62 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-041a7c {
  color: #041a7c;
}
Background
.bg-041a7c {
  background-color: #041a7c;
  color: #ffffff;
}
Border
.border-041a7c {
  border: 2px solid #041a7c;
}
CSS variables
:root {
  --color-primary: #041a7c;
  --color-primary-rgb: 4 26 124;
  --color-primary-hsl: 229 94% 25%;
}
Gradient
.gradient-041a7c {
  background: linear-gradient(135deg, #041a7c, #2a047c);
}
Colored shadow
.shadow-041a7c {
  box-shadow: 0 8px 24px rgb(4 26 124 / 0.35);
}

Midnight Blue
#041a7c  rgb(4, 26, 124)  hsl(229, 94%, 25%)  Midnight Blue
#7c6604  rgb(124, 102, 4)  hsl(49, 94%, 25%)  Field Drab
#7c041a  rgb(124, 4, 26)  hsl(349, 94%, 25%)  Burgundy
#1a7c04  rgb(26, 124, 4)  hsl(109, 94%, 25%)  Green