#0A4E5F

#0a4e5f ≈ Midnight Green

  • cyan
  • Lightness: low
  • Saturation: moderate
  • Cool

#0a4e5f is a color from the cyan family, with low lightness and moderate saturation. In the RGB model it is made of 3.92% red, 30.59% green and 37.25% blue; printed in CMYK it uses 89.47% cyan, 17.89% magenta, 0% yellow and 62.75% black. Its hue angle is 192°, with 80.95% saturation and 20.59% lightness in HSL. It is a cool color, often associated with freshness, technology and clarity. Designers typically use it for health and wellness, technology products and luxury branding. White text on this color reaches a contrast ratio of 9.26:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 4.03.

Description generated from the measured properties of this color.

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

Readable text 9.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #384a52 ≈ 0.001% of males
Protanopia #444c60 ≈ 1.01% of males
Deuteranopia #39445f ≈ 1.27% of males
Tritanopia #005353 ≈ 0.0001% of males
Protanomaly #354d60 ≈ 1.08% of males
Deuteranomaly #2c485f ≈ 4.63% of males
Tritanomaly #005158 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0a4e5f {
  color: #0a4e5f;
}
Background
.bg-0a4e5f {
  background-color: #0a4e5f;
  color: #ffffff;
}
Border
.border-0a4e5f {
  border: 2px solid #0a4e5f;
}
CSS variables
:root {
  --color-primary: #0a4e5f;
  --color-primary-rgb: 10 78 95;
  --color-primary-hsl: 192 81% 21%;
}
Gradient
.gradient-0a4e5f {
  background: linear-gradient(135deg, #0a4e5f, #0a245f);
}
Colored shadow
.shadow-0a4e5f {
  box-shadow: 0 8px 24px rgb(10 78 95 / 0.35);
}

Midnight Green
#0a4e5f  rgb(10, 78, 95)  hsl(192, 81%, 21%)  Midnight Green
#5f1b0a  rgb(95, 27, 10)  hsl(12, 81%, 21%)  Rosewood
#5f0a4e  rgb(95, 10, 78)  hsl(312, 81%, 21%)  Tyrian Purple
#4e5f0a  rgb(78, 95, 10)  hsl(72, 81%, 21%)  Dark Olive Green