#1F5A67

#1f5a67 ≈ Midnight Green

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

#1f5a67 is a color from the cyan family, with low lightness and moderate saturation. In the RGB model it is made of 12.16% red, 35.29% green and 40.39% blue; printed in CMYK it uses 69.9% cyan, 12.62% magenta, 0% yellow and 59.61% black. Its hue angle is 190.83°, with 53.73% saturation and 26.27% 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 7.73:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 6.

Description generated from the measured properties of this color.

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

Readable text 7.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #44565b ≈ 0.001% of males
Protanopia #515768 ≈ 1.01% of males
Deuteranopia #464f67 ≈ 1.27% of males
Tritanopia #005f5e ≈ 0.0001% of males
Protanomaly #425867 ≈ 1.08% of males
Deuteranomaly #3a5467 ≈ 4.63% of males
Tritanomaly #005d62 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1f5a67 {
  color: #1f5a67;
}
Background
.bg-1f5a67 {
  background-color: #1f5a67;
  color: #ffffff;
}
Border
.border-1f5a67 {
  border: 2px solid #1f5a67;
}
CSS variables
:root {
  --color-primary: #1f5a67;
  --color-primary-rgb: 31 90 103;
  --color-primary-hsl: 191 54% 26%;
}
Gradient
.gradient-1f5a67 {
  background: linear-gradient(135deg, #1f5a67, #1f3667);
}
Colored shadow
.shadow-1f5a67 {
  box-shadow: 0 8px 24px rgb(31 90 103 / 0.35);
}

Midnight Green
#1f5a67  rgb(31, 90, 103)  hsl(191, 54%, 26%)  Midnight Green
#672c1f  rgb(103, 44, 31)  hsl(11, 54%, 26%)  Caput Mortuum
#671f5a  rgb(103, 31, 90)  hsl(311, 54%, 26%)  Byzantium
#5a671f  rgb(90, 103, 31)  hsl(71, 54%, 26%)  Dark Olive Green