#202262
Closest named color: Midnight Blue (#191970). oklch(29.4% 0.111 275.8), rgb(32, 34, 98).
Aa
White text reads best on this color (14.31:1).
About this color
#202262 is a dark, moderately saturated blue. In OKLCH its lightness is 29%, its chroma 0.111 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.034 away. White text reads best on it, at 14.31:1.
| Hue family | Blues |
| Lightness | dark (29%) |
| Chroma | moderately saturated (0.111) |
| Temperature | cool |
| Nearest name | Midnight Blue (#191970) |
| Black text | 1.46:1 |
| White text | 14.31:1 |
Values
| HEX | #202262 |
| RGB | rgb(32, 34, 98) |
| HSL | hsl(238, 51%, 25%) |
| OKLCH | oklch(29.4% 0.111 275.8) |
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 #202262 | 14.31:1 | AAA | Lc -103.7 | Preferred for body text |
| Black text on #202262 | 1.46:1 | Fails | Lc 0.0 | Not readable |
| #202262 text on white | 14.31:1 | AAA | Lc 100.7 | Preferred for body text |
| #202262 text on black | 1.46: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
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E4E9FF
oklch(93.7% 0.03 275.6)
-
Step 200
200
#CED7FF
oklch(88.5% 0.056 275.2)
-
Step 300
300
#AFBCFF
oklch(80.9% 0.096 275.6)
-
Step 400
400
#8796FF
oklch(70.7% 0.154 275.6)
-
Step 500
500
#6C77FF
oklch(63.2% 0.199 275.6)
-
Step 600
600
#5652FF
oklch(55.6% 0.247 275.8)
-
Step 700
700
#482DF5
oklch(49.2% 0.271 275.8)
-
Step 800
800
#3A29C5
oklch(42.6% 0.225 275.9)
-
Step 900
900
#2F2B9B
oklch(37.7% 0.174 275.6)
-
Step 950
950 (this color)
#202262
oklch(29.4% 0.111 275.8)
#202262 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) | #002D64 | 0.038 |
| Deuteranopia (no green cones) | #002761 | 0.033 |
| Tritanopia (no blue cones) | #00323E | 0.093 |
| Achromatopsia (no color) | #2A2A2A | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #202262
#202262
oklch(29.4% 0.111 275.8)
- #362C00
#362C00
oklch(29.5% 0.061 95.5)
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 #202262, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Blue #191970 ΔE 0.034
- Marine #042E60 ΔE 0.040
- Dark Indigo #1F0954 ΔE 0.060
- Prussian Blue #1D3557 ΔE 0.061
- Marine Blue #01386A ΔE 0.063
- Dark Royal Blue #02066F ΔE 0.073
- Darkblue #030764 ΔE 0.073
- Space Cadet #2B2D42 ΔE 0.074
Use #202262 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.