#20213E
Closest named color: Oxford Blue (#1B263B). oklch(26.3% 0.054 280.5), rgb(32, 33, 62).
Aa
White text reads best on this color (15.57:1).
About this color
#20213E is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.054 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.020 away. White text reads best on it, at 15.57:1.
| Hue family | Purples |
| Lightness | dark (26%) |
| Chroma | muted (0.054) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.34:1 |
| White text | 15.57:1 |
Values
| HEX | #20213E |
| RGB | rgb(32, 33, 62) |
| HSL | hsl(238, 32%, 18%) |
| OKLCH | oklch(26.3% 0.054 280.5) |
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 #20213E | 15.57:1 | AAA | Lc -105.1 | Preferred for body text |
| Black text on #20213E | 1.34:1 | Fails | Lc 0.0 | Not readable |
| #20213E text on white | 15.57:1 | AAA | Lc 102.5 | Preferred for body text |
| #20213E text on black | 1.34: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 950.
-
Step 50
50
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E7E9F6
oklch(93.6% 0.018 279.1)
-
Step 200
200
#D4D7F1
oklch(88.5% 0.036 280.4)
-
Step 300
300
#B8BDEA
oklch(81% 0.064 279.9)
-
Step 400
400
#9599DF
oklch(70.7% 0.102 280.9)
-
Step 500
500
#7C7FD6
oklch(63.2% 0.129 280.5)
-
Step 600
600
#6666C3
oklch(55.6% 0.141 280.8)
-
Step 700
700
#5554A9
oklch(49.1% 0.133 280.9)
-
Step 800
800
#454689
oklch(42.8% 0.109 280.1)
-
Step 900
900
#3A3B6D
oklch(37.7% 0.084 280.7)
-
Step 950
950 (this color)
#20213E
oklch(26.3% 0.054 280.5)
#20213E 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) | #17253F | 0.018 |
| Deuteranopia (no green cones) | #15233D | 0.018 |
| Tritanopia (no blue cones) | #17272C | 0.047 |
| Achromatopsia (no color) | #242424 | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #20213E
#20213E
oklch(26.3% 0.054 280.5)
- #2B2501
#2B2501
oklch(26.3% 0.053 99.8)
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 #20213E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.020
- Dark #1B2431 ΔE 0.031
- Space Cadet #2B2D42 ΔE 0.045
- Jet #212529 ΔE 0.046
- Rich Black #0D1B2A ΔE 0.053
- Gunmetal #293241 ΔE 0.060
- Marine #042E60 ΔE 0.071
- Prussian Blue #1D3557 ΔE 0.071
Use #20213E 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.