#020A22
Closest named color: Midnight (#03012D). oklch(15.3% 0.053 262.4), rgb(2, 10, 34).
Aa
White text reads best on this color (19.64:1).
About this color
#020A22 is a very dark, muted blue. In OKLCH its lightness is 15%, its chroma 0.053 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.038 away. White text reads best on it, at 19.64:1.
| Hue family | Blues |
| Lightness | very dark (15%) |
| Chroma | muted (0.053) |
| Temperature | cool |
| Nearest name | Midnight (#03012D) |
| Black text | 1.06:1 |
| White text | 19.64:1 |
Values
| HEX | #020A22 |
| RGB | rgb(2, 10, 34) |
| HSL | hsl(225, 89%, 7%) |
| OKLCH | oklch(15.3% 0.053 262.4) |
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 #020A22 | 19.64:1 | AAA | Lc -107.6 | Preferred for body text |
| Black text on #020A22 | 1.06:1 | Fails | Lc 0.0 | Not readable |
| #020A22 text on white | 19.64:1 | AAA | Lc 105.6 | Preferred for body text |
| #020A22 text on black | 1.06: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
#F2F6FB
oklch(97.2% 0.008 253.9)
-
Step 100
100
#E3EAF7
oklch(93.6% 0.019 263)
-
Step 200
200
#CDDAF1
oklch(88.6% 0.035 262)
-
Step 300
300
#ABC1EA
oklch(80.8% 0.063 262.8)
-
Step 400
400
#7EA0E0
oklch(70.6% 0.102 262.6)
-
Step 500
500
#5E88D7
oklch(63.2% 0.128 262.1)
-
Step 600
600
#4570C5
oklch(55.7% 0.141 262.5)
-
Step 700
700
#365DAA
oklch(49.1% 0.131 262.4)
-
Step 800
800
#2D4C89
oklch(42.5% 0.108 262.5)
-
Step 900
900
#28406E
oklch(37.6% 0.085 262.3)
-
Step 950
950 (this color)
#020A22
oklch(15.3% 0.053 262.4)
#020A22 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) | #000D23 | 0.010 |
| Deuteranopia (no green cones) | #000A22 | 0.005 |
| Tritanopia (no blue cones) | #001014 | 0.042 |
| Achromatopsia (no color) | #0B0B0B | 0.053 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #020A22
#020A22
oklch(15.3% 0.053 262.4)
- #120A00
#120A00
oklch(15.2% 0.031 82.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 #020A22, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight #03012D ΔE 0.038
- Dark Navy Blue #00022E ΔE 0.038
- Rich Navy #001219 ΔE 0.039
- Dark Navy #000435 ΔE 0.043
- Very Dark Blue #000133 ΔE 0.046
- Almost Black #070D0D ΔE 0.050
- Rich Black #0D1B2A ΔE 0.067
- Navy Blue #001146 ΔE 0.075
Use #020A22 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.