#20545f ≈ Midnight Green
#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.
| 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 luminance | 0.0747 |
Shades
#20545f mixed progressively with black.
Tints
#20545f mixed progressively with white.
Tones
#20545f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-20545f {
color: #20545f;
}
.bg-20545f {
background-color: #20545f;
color: #ffffff;
}
.border-20545f {
border: 2px solid #20545f;
}
:root {
--color-primary: #20545f;
--color-primary-rgb: 32 84 95;
--color-primary-hsl: 190 50% 25%;
}
.gradient-20545f {
background: linear-gradient(135deg, #20545f, #20345f);
}
.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