#0D4C66

#0d4c66 ≈ Midnight Green

  • azure
  • Lightness: low
  • Saturation: moderate
  • Cool

#0d4c66 is a color from the azure family, with low lightness and moderate saturation. In the RGB model it is made of 5.1% red, 29.8% green and 40% blue; printed in CMYK it uses 87.25% cyan, 25.49% magenta, 0% yellow and 60% black. Its hue angle is 197.53°, with 77.39% saturation and 22.55% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 9.36:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 8.31.

Description generated from the measured properties of this color.

Conversions of #0d4c66 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.0621

Readable text 9.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.24:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #384955 ≈ 0.001% of males
Protanopia #3f4b67 ≈ 1.01% of males
Deuteranopia #334366 ≈ 1.27% of males
Tritanopia #005355 ≈ 0.0001% of males
Protanomaly #314b67 ≈ 1.08% of males
Deuteranomaly #284766 ≈ 4.63% of males
Tritanomaly #00505c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0d4c66 {
  color: #0d4c66;
}
Background
.bg-0d4c66 {
  background-color: #0d4c66;
  color: #ffffff;
}
Border
.border-0d4c66 {
  border: 2px solid #0d4c66;
}
CSS variables
:root {
  --color-primary: #0d4c66;
  --color-primary-rgb: 13 76 102;
  --color-primary-hsl: 198 77% 23%;
}
Gradient
.gradient-0d4c66 {
  background: linear-gradient(135deg, #0d4c66, #0d1f66);
}
Colored shadow
.shadow-0d4c66 {
  box-shadow: 0 8px 24px rgb(13 76 102 / 0.35);
}

Midnight Green
#0d4c66  rgb(13, 76, 102)  hsl(198, 77%, 23%)  Midnight Green
#66270d  rgb(102, 39, 13)  hsl(18, 77%, 23%)  Kobe
#660d4c  rgb(102, 13, 76)  hsl(318, 77%, 23%)  Tyrian Purple
#4c660d  rgb(76, 102, 13)  hsl(78, 77%, 23%)  Dark Olive Green