#1D1548

#1d1548 ≈ Midnight Blue

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

#1d1548 is a color from the blue family, with very low lightness and muted saturation. In the RGB model it is made of 11.37% red, 8.24% green and 28.24% blue; printed in CMYK it uses 59.72% cyan, 70.83% magenta, 0% yellow and 71.76% black. Its hue angle is 249.41°, with 54.84% saturation and 18.24% 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.76:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.84.

Description generated from the measured properties of this color.

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

Readable text 16.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1e1e1e ≈ 0.003% of males
Achromatomaly #1d1a33 ≈ 0.001% of males
Protanopia #001f4a ≈ 1.01% of males
Deuteranopia #001c47 ≈ 1.27% of males
Tritanopia #0b212c ≈ 0.0001% of males
Protanomaly #091b49 ≈ 1.08% of males
Deuteranomaly #091947 ≈ 4.63% of males
Tritanomaly #141d39 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1d1548 {
  color: #1d1548;
}
Background
.bg-1d1548 {
  background-color: #1d1548;
  color: #ffffff;
}
Border
.border-1d1548 {
  border: 2px solid #1d1548;
}
CSS variables
:root {
  --color-primary: #1d1548;
  --color-primary-rgb: 29 21 72;
  --color-primary-hsl: 249 55% 18%;
}
Gradient
.gradient-1d1548 {
  background: linear-gradient(135deg, #1d1548, #371548);
}
Colored shadow
.shadow-1d1548 {
  box-shadow: 0 8px 24px rgb(29 21 72 / 0.35);
}

Midnight Blue
#1d1548  rgb(29, 21, 72)  hsl(249, 55%, 18%)  Midnight Blue
#404815  rgb(64, 72, 21)  hsl(69, 55%, 18%)  Army Green
#481d15  rgb(72, 29, 21)  hsl(9, 55%, 18%)  Caput Mortuum
#15481d  rgb(21, 72, 29)  hsl(129, 55%, 18%)  British Racing Green