#20404D color
The hex color #20404D is a dark, desaturated azure.
In the RGB color model it is made of 12.5% red, 25.1% green and 30.2% blue (32, 64, 77).
Its hue angle is 197°, with 41% saturation and 21% lightness. For print, the CMYK equivalent is 58% cyan, 17% magenta, 0% yellow and 70% black.
The closest named color is Cold and Dark (#154250), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.04:1).
#20404D color codes
| HEX | #20404D | |
|---|---|---|
| RGB | rgb(32, 64, 77) | |
| RGB percent | rgb(12.5%, 25.1%, 30.2%) | |
| HSL | hsl(197, 41%, 21%) | |
| HSV / HSB | hsv(197, 58%, 30%) | |
| CMYK | cmyk(58%, 17%, 0%, 70%) | |
| CIE LAB | lab(25.29, -7.48, -11.49) | |
| CIE LCH | lch(25.29, 13.71, 236.94) | |
| CIE XYZ | xyz(3.768, 4.509, 7.692) | |
| Decimal | 2113613 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #20404D, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #20404D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.9:1 | Fail | Fail | Fail |
| Sample text | 11.04:1 | Pass | Pass | Pass |
| #20404D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.04:1 | Pass | Pass | Pass |
| Sample text | 1.9:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #20404D looks to people with the most common types of color vision deficiency.
#393f4eProtanopia
no red cones#333a4dDeuteranopia
no green cones#034444Tritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #20404d; }
.text { color: #20404d; }
.border { border: 2px solid #20404d; }
.transparent { background-color: rgb(32 64 77 / 50%); }
.gradient { background: linear-gradient(to right, #20404d, #202a4d); }
Similar colors
#154250Cold and Dark#253f4eDepths of the Nile#254855Mallard#203943Astral Nomad#1e3642Into the Night#1c3b42Royal Neptune#1c3d44Sunken Harbour#1a4157Capital Blue
Closest common color name: Charcoal.
Questions
- What color is #20404D?
- #20404D is a dark, desaturated azure, closest to the named color Cold and Dark. It belongs to the blue family of colors.
- What is the RGB value of #20404D?
- The RGB value is 32, 64, 77: 32 red, 64 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #20404D?
- The complementary color is #4D2D20, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #20404D?
- White text. Black text has a contrast ratio of 1.9:1 and white text 11.04:1. WCAG asks for at least 4.5:1 for normal text.