#20545F

#20545f ≈ Midnight Green

  • cyan
  • Lightness: low
  • Saturation: muted
  • Cool

#20545f is a color from the cyan family, with low lightness and muted saturation. In the RGB model it is made of 12.55% red, 32.94% green and 37.25% blue; printed in CMYK it uses 66.32% cyan, 11.58% magenta, 0% yellow and 62.75% black. Its hue angle is 190.48°, with 49.61% saturation and 24.9% 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 8.42:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 4.29.

Description generated from the measured properties of this color.

Conversions of #20545f 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.0747

Readable text 8.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #405055 ≈ 0.001% of males
Protanopia #4c5160 ≈ 1.01% of males
Deuteranopia #434a5f ≈ 1.27% of males
Tritanopia #005857 ≈ 0.0001% of males
Protanomaly #3f525f ≈ 1.08% of males
Deuteranomaly #384e5f ≈ 4.63% of males
Tritanomaly #01575b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-20545f {
  color: #20545f;
}
Background
.bg-20545f {
  background-color: #20545f;
  color: #ffffff;
}
Border
.border-20545f {
  border: 2px solid #20545f;
}
CSS variables
:root {
  --color-primary: #20545f;
  --color-primary-rgb: 32 84 95;
  --color-primary-hsl: 190 50% 25%;
}
Gradient
.gradient-20545f {
  background: linear-gradient(135deg, #20545f, #20345f);
}
Colored shadow
.shadow-20545f {
  box-shadow: 0 8px 24px rgb(32 84 95 / 0.35);
}

Midnight Green
#20545f  rgb(32, 84, 95)  hsl(190, 50%, 25%)  Midnight Green
#5f2b20  rgb(95, 43, 32)  hsl(10, 50%, 25%)  Caput Mortuum
#5f2054  rgb(95, 32, 84)  hsl(310, 50%, 25%)  Byzantium
#545f20  rgb(84, 95, 32)  hsl(70, 50%, 25%)  Army Green