#20404C
Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.2% 0.043 224.6), rgb(32, 64, 76).
Aa
White text reads best on this color (11.05:1).
About this color
#20404C is a dark, muted teal or cyan. In OKLCH its lightness is 35%, its chroma 0.043 and its hue 225°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.018 away. White text reads best on it, at 11.05:1.
| Hue family | Teals and cyans |
| Lightness | dark (35%) |
| Chroma | muted (0.043) |
| Temperature | cool |
| Nearest name | Dark Blue Grey (#1F3B4D) |
| Black text | 1.89:1 |
| White text | 11.05:1 |
Values
| HEX | #20404C |
| RGB | rgb(32, 64, 76) |
| HSL | hsl(196, 41%, 21%) |
| OKLCH | oklch(35.2% 0.043 224.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #20404C | 11.05:1 | AAA | Lc -99.3 | Preferred for body text |
| Black text on #20404C | 1.89:1 | Fails | Lc 8.4 | Not readable |
| #20404C text on white | 11.05:1 | AAA | Lc 95.5 | Preferred for body text |
| #20404C text on black | 1.89:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.
-
Step 50
50
#F2F6F8
oklch(97.1% 0.005 228.8)
-
Step 100
100
#E4EBEE
oklch(93.6% 0.009 225.1)
-
Step 200
200
#CDDCE2
oklch(88.5% 0.018 223.6)
-
Step 300
300
#ABC6D0
oklch(81% 0.032 222.1)
-
Step 400
400
#7EA8B9
oklch(70.7% 0.052 224.8)
-
Step 500
500
#5B92A7
oklch(63% 0.066 224.3)
-
Step 600
600
#407C93
oklch(55.5% 0.072 225.4)
-
Step 700
700
#31697D
oklch(49.2% 0.067 224.1)
-
Step 800
800
#2A5566
oklch(42.6% 0.055 226.1)
-
Step 900
900 (this color)
#20404C
oklch(35.2% 0.043 224.6)
-
Step 950
950
#172930
oklch(26.9% 0.027 224.6)
#20404C with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #393F4D | 0.033 |
| Deuteranopia (no green cones) | #333A4C | 0.030 |
| Tritanopia (no blue cones) | #044444 | 0.030 |
| Achromatopsia (no color) | #3C3C3C | 0.043 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #20404C
#20404C
oklch(35.2% 0.043 224.6)
- #4E3428
#4E3428
oklch(35.2% 0.043 45.7)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #20404C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Blue Grey #1F3B4D ΔE 0.018
- Charcoal #264653 ΔE 0.023
- Midnight Green #073B4C ΔE 0.028
- Onyx #343A40 ΔE 0.032
- Dark Grey Blue #29465B ΔE 0.032
- Charcoal Grey #3C4142 ΔE 0.041
- Dark Teal #014D4E ΔE 0.044
- Gunmetal #293241 ΔE 0.045
Use #20404C in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.