#0D004F

#0d004f ≈ Midnight Blue

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

#0d004f is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 5.1% red, 0% green and 30.98% blue; printed in CMYK it uses 83.54% cyan, 100% magenta, 0% yellow and 69.02% black. Its hue angle is 249.87°, with 100% saturation and 15.49% 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.58:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.16.

Description generated from the measured properties of this color.

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

Readable text 18.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #131313 ≈ 0.003% of males
Achromatomaly #110d35 ≈ 0.001% of males
Protanopia #001651 ≈ 1.01% of males
Deuteranopia #000f4e ≈ 1.27% of males
Tritanopia #001b2b ≈ 0.0001% of males
Protanomaly #000f50 ≈ 1.08% of males
Deuteranomaly #000a4e ≈ 4.63% of males
Tritanomaly #00133c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0d004f {
  color: #0d004f;
}
Background
.bg-0d004f {
  background-color: #0d004f;
  color: #ffffff;
}
Border
.border-0d004f {
  border: 2px solid #0d004f;
}
CSS variables
:root {
  --color-primary: #0d004f;
  --color-primary-rgb: 13 0 79;
  --color-primary-hsl: 250 100% 15%;
}
Gradient
.gradient-0d004f {
  background: linear-gradient(135deg, #0d004f, #34004f);
}
Colored shadow
.shadow-0d004f {
  box-shadow: 0 8px 24px rgb(13 0 79 / 0.35);
}

Midnight Blue
#0d004f  rgb(13, 0, 79)  hsl(250, 100%, 15%)  Midnight Blue
#424f00  rgb(66, 79, 0)  hsl(70, 100%, 15%)  Army Green
#4f0d00  rgb(79, 13, 0)  hsl(10, 100%, 15%)  Rosewood
#004f0d  rgb(0, 79, 13)  hsl(130, 100%, 15%)  Lincoln Green