#20304E
Closest named color: Prussian Blue (#1D3557). oklch(31.1% 0.058 262.2), rgb(32, 48, 78).
Aa
White text reads best on this color (13.17:1).
About this color
#20304E is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.058 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.020 away. White text reads best on it, at 13.17:1.
| Hue family | Blues |
| Lightness | dark (31%) |
| Chroma | muted (0.058) |
| Temperature | cool |
| Nearest name | Prussian Blue (#1D3557) |
| Black text | 1.59:1 |
| White text | 13.17:1 |
Values
| HEX | #20304E |
| RGB | rgb(32, 48, 78) |
| HSL | hsl(219, 42%, 22%) |
| OKLCH | oklch(31.1% 0.058 262.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 #20304E | 13.17:1 | AAA | Lc -102.6 | Preferred for body text |
| Black text on #20304E | 1.59:1 | Fails | Lc 0.0 | Not readable |
| #20304E text on white | 13.17:1 | AAA | Lc 99.4 | Preferred for body text |
| #20304E text on black | 1.59: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
#F2F6FC
oklch(97.2% 0.009 258.3)
-
Step 100
100
#E3EAF8
oklch(93.6% 0.02 264.5)
-
Step 200
200
#CCDAF3
oklch(88.6% 0.038 262.1)
-
Step 300
300
#A9C1EE
oklch(80.8% 0.069 262.9)
-
Step 400
400
#7BA0E6
oklch(70.7% 0.111 262.5)
-
Step 500
500
#5987DE
oklch(63.1% 0.141 262.1)
-
Step 600
600
#3F6FCC
oklch(55.6% 0.153 262.1)
-
Step 700
700
#315CB0
oklch(49% 0.142 262.1)
-
Step 800
800
#294C8F
oklch(42.8% 0.118 261.9)
-
Step 900
900
#264072
oklch(37.8% 0.092 262.2)
-
Step 950
950 (this color)
#20304E
oklch(31.1% 0.058 262.2)
#20304E 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) | #24324F | 0.009 |
| Deuteranopia (no green cones) | #1F2E4D | 0.007 |
| Tritanopia (no blue cones) | #07373B | 0.053 |
| Achromatopsia (no color) | #303030 | 0.058 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #20304E
#20304E
oklch(31.1% 0.058 262.2)
- #3F2D06
#3F2D06
oklch(31% 0.059 82.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 #20304E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Prussian Blue #1D3557 ΔE 0.020
- Space Cadet #2B2D42 ΔE 0.026
- Gunmetal #293241 ΔE 0.029
- Dark Blue Grey #1F3B4D ΔE 0.037
- Midnight Green #073B4C ΔE 0.041
- Marine #042E60 ΔE 0.042
- Oxford Blue #1B263B ΔE 0.045
- Marine Blue #01386A ΔE 0.053
Use #20304E 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.