#0D0B42

#0d0b42 ≈ Midnight Blue

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

#0d0b42 is a color from the blue family, with very low lightness and muted saturation. In the RGB model it is made of 5.1% red, 4.31% green and 25.88% blue; printed in CMYK it uses 80.3% cyan, 83.33% magenta, 0% yellow and 74.12% black. Its hue angle is 242.18°, with 71.43% saturation and 15.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 18.36:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.27.

Description generated from the measured properties of this color.

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

Readable text 18.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #141414 ≈ 0.003% of males
Achromatomaly #12112d ≈ 0.001% of males
Protanopia #001744 ≈ 1.01% of males
Deuteranopia #001241 ≈ 1.27% of males
Tritanopia #001b25 ≈ 0.0001% of males
Protanomaly #001343 ≈ 1.08% of males
Deuteranomaly #000f41 ≈ 4.63% of males
Tritanomaly #001633 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0d0b42 {
  color: #0d0b42;
}
Background
.bg-0d0b42 {
  background-color: #0d0b42;
  color: #ffffff;
}
Border
.border-0d0b42 {
  border: 2px solid #0d0b42;
}
CSS variables
:root {
  --color-primary: #0d0b42;
  --color-primary-rgb: 13 11 66;
  --color-primary-hsl: 242 71% 15%;
}
Gradient
.gradient-0d0b42 {
  background: linear-gradient(135deg, #0d0b42, #290b42);
}
Colored shadow
.shadow-0d0b42 {
  box-shadow: 0 8px 24px rgb(13 11 66 / 0.35);
}

Midnight Blue
#0d0b42  rgb(13, 11, 66)  hsl(242, 71%, 15%)  Midnight Blue
#40420b  rgb(64, 66, 11)  hsl(62, 71%, 15%)  Army Green
#420d0b  rgb(66, 13, 11)  hsl(2, 71%, 15%)  Caput Mortuum
#0b420d  rgb(11, 66, 13)  hsl(122, 71%, 15%)  British Racing Green