#20406C
Closest named color: Twilight Blue (#0A437A). oklch(37.1% 0.085 256.9), rgb(32, 64, 108).
Aa
White text reads best on this color (10.44:1).
About this color
#20406C is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.085 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.026 away. White text reads best on it, at 10.44:1.
| Hue family | Blues |
| Lightness | dark (37%) |
| Chroma | moderately saturated (0.085) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 2.01:1 |
| White text | 10.44:1 |
Values
| HEX | #20406C |
| RGB | rgb(32, 64, 108) |
| HSL | hsl(215, 54%, 27%) |
| OKLCH | oklch(37.1% 0.085 256.9) |
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 #20406C | 10.44:1 | AAA | Lc -98.0 | Preferred for body text |
| Black text on #20406C | 2.01:1 | Fails | Lc 9.9 | Not readable |
| #20406C text on white | 10.44:1 | AAA | Lc 94.0 | Preferred for body text |
| #20406C text on black | 2.01:1 | Fails | Lc -8.5 | 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
#F2F6FB
oklch(97.2% 0.008 253.9)
-
Step 100
100
#E2EBF6
oklch(93.7% 0.018 253.3)
-
Step 200
200
#CBDBF1
oklch(88.6% 0.035 256.3)
-
Step 300
300
#A7C3EA
oklch(81% 0.063 256.7)
-
Step 400
400
#77A3E0
oklch(70.8% 0.102 256.7)
-
Step 500
500
#538AD7
oklch(63.1% 0.131 257.1)
-
Step 600
600
#3773C4
oklch(55.7% 0.141 256.8)
-
Step 700
700
#2960AA
oklch(49.2% 0.132 256.9)
-
Step 800
800
#234E89
oklch(42.6% 0.109 257)
-
Step 900
900 (this color)
#20406C
oklch(37.1% 0.085 256.9)
-
Step 950
950
#142740
oklch(27% 0.053 255.8)
#20406C 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) | #2C436E | 0.018 |
| Deuteranopia (no green cones) | #213C6B | 0.012 |
| Tritanopia (no blue cones) | #004A50 | 0.069 |
| Achromatopsia (no color) | #404040 | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #20406C
#20406C
oklch(37.1% 0.085 256.9)
- #573900
#573900
oklch(37% 0.078 75.9)
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 #20406C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.026
- Marine Blue #01386A ΔE 0.036
- Dark Grey Blue #29465B ΔE 0.040
- Prussian Blue #1D3557 ΔE 0.046
- Charcoal #264653 ΔE 0.053
- Dark Blue Grey #1F3B4D ΔE 0.054
- Light Navy #155084 ΔE 0.057
- Cobalt #1E488F ΔE 0.060
Use #20406C 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.