#202F40
Closest named color: Gunmetal (#293241). oklch(30% 0.037 252.1), rgb(32, 47, 64).
Aa
White text reads best on this color (13.61:1).
About this color
#202F40 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.037 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.018 away. White text reads best on it, at 13.61:1.
| Hue family | Blues |
| Lightness | dark (30%) |
| Chroma | muted (0.037) |
| Temperature | cool |
| Nearest name | Gunmetal (#293241) |
| Black text | 1.54:1 |
| White text | 13.61:1 |
Values
| HEX | #202F40 |
| RGB | rgb(32, 47, 64) |
| HSL | hsl(212, 33%, 19%) |
| OKLCH | oklch(30% 0.037 252.1) |
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 #202F40 | 13.61:1 | AAA | Lc -103.2 | Preferred for body text |
| Black text on #202F40 | 1.54:1 | Fails | Lc 0.0 | Not readable |
| #202F40 text on white | 13.61:1 | AAA | Lc 100.1 | Preferred for body text |
| #202F40 text on black | 1.54: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
#F3F6F9
oklch(97.2% 0.005 247.9)
-
Step 100
100
#E4EBF2
oklch(93.7% 0.012 248)
-
Step 200
200
#CEDBE9
oklch(88.6% 0.024 250.1)
-
Step 300
300
#ADC3DD
oklch(80.9% 0.044 252.7)
-
Step 400
400
#81A4CC
oklch(70.7% 0.07 252.1)
-
Step 500
500
#618DBE
oklch(63.2% 0.089 251.9)
-
Step 600
600
#4776AB
oklch(55.6% 0.098 252.6)
-
Step 700
700
#386393
oklch(49.1% 0.091 252.5)
-
Step 800
800
#2F5177
oklch(42.7% 0.075 252.4)
-
Step 900
900
#2A4360
oklch(37.6% 0.059 253)
-
Step 950
950 (this color)
#202F40
oklch(30% 0.037 252.1)
#202F40 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) | #283041 | 0.013 |
| Deuteranopia (no green cones) | #252C40 | 0.012 |
| Tritanopia (no blue cones) | #143335 | 0.032 |
| Achromatopsia (no color) | #2E2E2E | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #202F40
#202F40
oklch(30% 0.037 252.1)
- #392B18
#392B18
oklch(30% 0.037 74.1)
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 #202F40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gunmetal #293241 ΔE 0.018
- Space Cadet #2B2D42 ΔE 0.019
- Oxford Blue #1B263B ΔE 0.032
- Dark Blue Grey #1F3B4D ΔE 0.041
- Prussian Blue #1D3557 ΔE 0.042
- Midnight Green #073B4C ΔE 0.042
- Dark #1B2431 ΔE 0.043
- Jet #212529 ΔE 0.047
Use #202F40 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.