#074E5F

#074e5f ≈ Midnight Green

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

#074e5f is a color from the cyan family, with low lightness and moderate saturation. In the RGB model it is made of 2.75% red, 30.59% green and 37.25% blue; printed in CMYK it uses 92.63% cyan, 17.89% magenta, 0% yellow and 62.75% black. Its hue angle is 191.59°, with 86.27% saturation and 20% 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.28:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 3.91.

Description generated from the measured properties of this color.

Conversions of #074e5f 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.0632

Readable text 9.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #374a52 ≈ 0.001% of males
Protanopia #444c60 ≈ 1.01% of males
Deuteranopia #39445f ≈ 1.27% of males
Tritanopia #005453 ≈ 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-074e5f {
  color: #074e5f;
}
Background
.bg-074e5f {
  background-color: #074e5f;
  color: #ffffff;
}
Border
.border-074e5f {
  border: 2px solid #074e5f;
}
CSS variables
:root {
  --color-primary: #074e5f;
  --color-primary-rgb: 7 78 95;
  --color-primary-hsl: 192 86% 20%;
}
Gradient
.gradient-074e5f {
  background: linear-gradient(135deg, #074e5f, #07225f);
}
Colored shadow
.shadow-074e5f {
  box-shadow: 0 8px 24px rgb(7 78 95 / 0.35);
}

Midnight Green
#074e5f  rgb(7, 78, 95)  hsl(192, 86%, 20%)  Midnight Green
#5f1807  rgb(95, 24, 7)  hsl(12, 86%, 20%)  Rosewood
#5f074e  rgb(95, 7, 78)  hsl(312, 86%, 20%)  Tyrian Purple
#4e5f07  rgb(78, 95, 7)  hsl(72, 86%, 20%)  Dark Olive Green