#0D2971

#0d2971 ≈ Midnight Blue

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

#0d2971 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 5.1% red, 16.08% green and 44.31% blue; printed in CMYK it uses 88.5% cyan, 63.72% magenta, 0% yellow and 55.69% black. Its hue angle is 223.2°, with 79.37% saturation and 24.71% 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 13.35:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.77.

Description generated from the measured properties of this color.

Conversions of #0d2971 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.0286

Readable text 13.35:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2f2f2f ≈ 0.003% of males
Achromatomaly #252d51 ≈ 0.001% of males
Protanopia #003473 ≈ 1.01% of males
Deuteranopia #002b70 ≈ 1.27% of males
Tritanopia #003c48 ≈ 0.0001% of males
Protanomaly #003072 ≈ 1.08% of males
Deuteranomaly #002a70 ≈ 4.63% of males
Tritanomaly #00355b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0d2971 {
  color: #0d2971;
}
Background
.bg-0d2971 {
  background-color: #0d2971;
  color: #ffffff;
}
Border
.border-0d2971 {
  border: 2px solid #0d2971;
}
CSS variables
:root {
  --color-primary: #0d2971;
  --color-primary-rgb: 13 41 113;
  --color-primary-hsl: 223 79% 25%;
}
Gradient
.gradient-0d2971 {
  background: linear-gradient(135deg, #0d2971, #230d71);
}
Colored shadow
.shadow-0d2971 {
  box-shadow: 0 8px 24px rgb(13 41 113 / 0.35);
}

Midnight Blue
#0d2971  rgb(13, 41, 113)  hsl(223, 79%, 25%)  Midnight Blue
#71550d  rgb(113, 85, 13)  hsl(43, 79%, 25%)  Field Drab
#710d29  rgb(113, 13, 41)  hsl(343, 79%, 25%)  Claret
#29710d  rgb(41, 113, 13)  hsl(103, 79%, 25%)  Pakistan Green