#1D1A4D

#1d1a4d ≈ Midnight Blue

  • blue
  • Lightness: low
  • Saturation: muted
  • Cool

#1d1a4d is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 11.37% red, 10.2% green and 30.2% blue; printed in CMYK it uses 62.34% cyan, 66.23% magenta, 0% yellow and 69.8% black. Its hue angle is 243.53°, with 49.51% saturation and 20.2% 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 16.07:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.19.

Description generated from the measured properties of this color.

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

Readable text 16.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #212121 ≈ 0.003% of males
Achromatomaly #201f38 ≈ 0.001% of males
Protanopia #00234f ≈ 1.01% of males
Deuteranopia #001f4c ≈ 1.27% of males
Tritanopia #042630 ≈ 0.0001% of males
Protanomaly #0b204e ≈ 1.08% of males
Deuteranomaly #091d4c ≈ 4.63% of males
Tritanomaly #11223e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1d1a4d {
  color: #1d1a4d;
}
Background
.bg-1d1a4d {
  background-color: #1d1a4d;
  color: #ffffff;
}
Border
.border-1d1a4d {
  border: 2px solid #1d1a4d;
}
CSS variables
:root {
  --color-primary: #1d1a4d;
  --color-primary-rgb: 29 26 77;
  --color-primary-hsl: 244 50% 20%;
}
Gradient
.gradient-1d1a4d {
  background: linear-gradient(135deg, #1d1a4d, #371a4d);
}
Colored shadow
.shadow-1d1a4d {
  box-shadow: 0 8px 24px rgb(29 26 77 / 0.35);
}

Midnight Blue
#1d1a4d  rgb(29, 26, 77)  hsl(244, 50%, 20%)  Midnight Blue
#4a4d1a  rgb(74, 77, 26)  hsl(64, 50%, 20%)  Army Green
#4d1d1a  rgb(77, 29, 26)  hsl(4, 50%, 20%)  Caput Mortuum
#1a4d1d  rgb(26, 77, 29)  hsl(124, 50%, 20%)  British Racing Green