#20336E
Closest named color: Marine Blue (#01386A). oklch(34.1% 0.105 267.2), rgb(32, 51, 110).
Aa
White text reads best on this color (11.93:1).
About this color
#20336E is a dark, moderately saturated blue. In OKLCH its lightness is 34%, its chroma 0.105 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.027 away. White text reads best on it, at 11.93:1.
| Hue family | Blues |
| Lightness | dark (34%) |
| Chroma | moderately saturated (0.105) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.76:1 |
| White text | 11.93:1 |
Values
| HEX | #20336E |
| RGB | rgb(32, 51, 110) |
| HSL | hsl(225, 55%, 28%) |
| OKLCH | oklch(34.1% 0.105 267.2) |
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 #20336E | 11.93:1 | AAA | Lc -100.6 | Preferred for body text |
| Black text on #20336E | 1.76:1 | Fails | Lc 0.0 | Not readable |
| #20336E text on white | 11.93:1 | AAA | Lc 97.0 | Preferred for body text |
| #20336E text on black | 1.76: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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E3EAFA
oklch(93.6% 0.023 266.9)
-
Step 200
200
#CCD9F7
oklch(88.5% 0.044 266.9)
-
Step 300
300
#AAC0F5
oklch(81% 0.079 267.1)
-
Step 400
400
#7D9DEF
oklch(70.6% 0.126 267)
-
Step 500
500
#5E82EA
oklch(63% 0.161 267.3)
-
Step 600
600
#4669D8
oklch(55.6% 0.175 267.3)
-
Step 700
700
#3857BC
oklch(49.2% 0.163 267.3)
-
Step 800
800
#2E4898
oklch(42.8% 0.135 267)
-
Step 900
900 (this color)
#20336E
oklch(34.1% 0.105 267.2)
-
Step 950
950
#182447
oklch(27% 0.067 267.5)
#20336E 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) | #103B70 | 0.025 |
| Deuteranopia (no green cones) | #00336D | 0.025 |
| Tritanopia (no blue cones) | #00414B | 0.087 |
| Achromatopsia (no color) | #373737 | 0.105 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #20336E
#20336E
oklch(34.1% 0.105 267.2)
- #483500
#483500
oklch(34.1% 0.07 86.3)
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 #20336E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.027
- Marine #042E60 ΔE 0.040
- Prussian Blue #1D3557 ΔE 0.042
- Twilight Blue #0A437A ΔE 0.048
- Midnight Blue #191970 ΔE 0.067
- Dark Blue Grey #1F3B4D ΔE 0.068
- Midnight Green #073B4C ΔE 0.073
- Dark Grey Blue #29465B ΔE 0.075
Use #20336E 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.