#0D1978

#0d1978 ≈ Midnight Blue

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

#0d1978 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 5.1% red, 9.8% green and 47.06% blue; printed in CMYK it uses 89.17% cyan, 79.17% magenta, 0% yellow and 52.94% black. Its hue angle is 233.27°, with 80.45% saturation and 26.08% 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.71:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.59.

Description generated from the measured properties of this color.

Conversions of #0d1978 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.0214

Readable text 14.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #202354 ≈ 0.001% of males
Protanopia #002d7b ≈ 1.01% of males
Deuteranopia #002376 ≈ 1.27% of males
Tritanopia #003647 ≈ 0.0001% of males
Protanomaly #00277a ≈ 1.08% of males
Deuteranomaly #001f77 ≈ 4.63% of males
Tritanomaly #002d5f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0d1978 {
  color: #0d1978;
}
Background
.bg-0d1978 {
  background-color: #0d1978;
  color: #ffffff;
}
Border
.border-0d1978 {
  border: 2px solid #0d1978;
}
CSS variables
:root {
  --color-primary: #0d1978;
  --color-primary-rgb: 13 25 120;
  --color-primary-hsl: 233 80% 26%;
}
Gradient
.gradient-0d1978 {
  background: linear-gradient(135deg, #0d1978, #370d78);
}
Colored shadow
.shadow-0d1978 {
  box-shadow: 0 8px 24px rgb(13 25 120 / 0.35);
}

Midnight Blue
#0d1978  rgb(13, 25, 120)  hsl(233, 80%, 26%)  Midnight Blue
#786c0d  rgb(120, 108, 13)  hsl(53, 80%, 26%)  Olive
#780d19  rgb(120, 13, 25)  hsl(353, 80%, 26%)  Burgundy
#19780d  rgb(25, 120, 13)  hsl(113, 80%, 26%)  Green