#0D1E70

#0d1e70 ≈ Midnight Blue

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

#0d1e70 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 5.1% red, 11.76% green and 43.92% blue; printed in CMYK it uses 88.39% cyan, 73.21% magenta, 0% yellow and 56.08% black. Its hue angle is 229.7°, with 79.2% saturation and 24.51% 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 14.62:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.16.

Description generated from the measured properties of this color.

Conversions of #0d1e70 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.0218

Readable text 14.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #292929 ≈ 0.003% of males
Achromatomaly #20254f ≈ 0.001% of males
Protanopia #002d72 ≈ 1.01% of males
Deuteranopia #00246f ≈ 1.27% of males
Tritanopia #003544 ≈ 0.0001% of males
Protanomaly #002872 ≈ 1.08% of males
Deuteranomaly #00226f ≈ 4.63% of males
Tritanomaly #002d59 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#0d1e70  rgb(13, 30, 112)  hsl(230, 79%, 25%)  Midnight Blue
#705f0d  rgb(112, 95, 13)  hsl(50, 79%, 25%)  Field Drab
#700d1e  rgb(112, 13, 30)  hsl(350, 79%, 25%)  Burgundy
#1e700d  rgb(30, 112, 13)  hsl(110, 79%, 25%)  Pakistan Green