#1B0D4E

#1b0d4e ≈ Midnight Blue

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

#1b0d4e is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 10.59% red, 5.1% green and 30.59% blue; printed in CMYK it uses 65.38% cyan, 83.33% magenta, 0% yellow and 69.41% black. Its hue angle is 252.92°, with 71.43% saturation and 17.84% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 17.3:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.35.

Description generated from the measured properties of this color.

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

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

Achromatopsia #1b1b1b ≈ 0.003% of males
Achromatomaly #1b1636 ≈ 0.001% of males
Protanopia #001d50 ≈ 1.01% of males
Deuteranopia #00184d ≈ 1.27% of males
Tritanopia #00202d ≈ 0.0001% of males
Protanomaly #00174f ≈ 1.08% of males
Deuteranomaly #00144d ≈ 4.63% of males
Tritanomaly #0e1a3d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1b0d4e {
  color: #1b0d4e;
}
Background
.bg-1b0d4e {
  background-color: #1b0d4e;
  color: #ffffff;
}
Border
.border-1b0d4e {
  border: 2px solid #1b0d4e;
}
CSS variables
:root {
  --color-primary: #1b0d4e;
  --color-primary-rgb: 27 13 78;
  --color-primary-hsl: 253 71% 18%;
}
Gradient
.gradient-1b0d4e {
  background: linear-gradient(135deg, #1b0d4e, #3b0d4e);
}
Colored shadow
.shadow-1b0d4e {
  box-shadow: 0 8px 24px rgb(27 13 78 / 0.35);
}

Midnight Blue
#1b0d4e  rgb(27, 13, 78)  hsl(253, 71%, 18%)  Midnight Blue
#404e0d  rgb(64, 78, 13)  hsl(73, 71%, 18%)  Army Green
#4e1b0d  rgb(78, 27, 13)  hsl(13, 71%, 18%)  Caput Mortuum
#0d4e1b  rgb(13, 78, 27)  hsl(133, 71%, 18%)  Lincoln Green