#02020C
Closest named color: Almost Black (#070D0D). oklch(9.6% 0.032 278.6), rgb(2, 2, 12).
Aa
White text reads best on this color (20.65:1).
About this color
#02020C is a very dark, muted blue. In OKLCH its lightness is 10%, its chroma 0.032 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.065 away. White text reads best on it, at 20.65:1.
| Hue family | Blues |
| Lightness | very dark (10%) |
| Chroma | muted (0.032) |
| Temperature | cool |
| Nearest name | Almost Black (#070D0D) |
| Black text | 1.01:1 |
| White text | 20.65:1 |
Values
| HEX | #02020C |
| RGB | rgb(2, 2, 12) |
| HSL | hsl(240, 71%, 3%) |
| OKLCH | oklch(9.6% 0.032 278.6) |
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 #02020C | 20.65:1 | AAA | Lc -107.9 | Preferred for body text |
| Black text on #02020C | 1.01:1 | Fails | Lc 0.0 | Not readable |
| #02020C text on white | 20.65:1 | AAA | Lc 106.0 | Preferred for body text |
| #02020C text on black | 1.01: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
#F4F5F9
oklch(97.1% 0.005 275)
-
Step 100
100
#E8E9F1
oklch(93.6% 0.011 280.5)
-
Step 200
200
#D6D8E7
oklch(88.5% 0.021 279.9)
-
Step 300
300
#BBBFD9
oklch(81% 0.037 278.6)
-
Step 400
400
#989DC6
oklch(70.6% 0.06 279.3)
-
Step 500
500
#7F85B8
oklch(63.1% 0.077 278.8)
-
Step 600
600
#686EA4
oklch(55.6% 0.084 278.4)
-
Step 700
700
#575C8C
oklch(49.1% 0.077 278.6)
-
Step 800
800
#474B72
oklch(42.7% 0.065 278.8)
-
Step 900
900
#3B3F5C
oklch(37.7% 0.05 277.7)
-
Step 950
950 (this color)
#02020C
oklch(9.6% 0.032 278.6)
#02020C 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) | #00030C | 0.013 |
| Deuteranopia (no green cones) | #00020C | 0.013 |
| Tritanopia (no blue cones) | #000305 | 0.026 |
| Achromatopsia (no color) | #030303 | 0.032 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #02020C
#02020C
oklch(9.6% 0.032 278.6)
- #040300
#040300
oklch(9.7% 0.02 99.3)
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 #02020C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Almost Black #070D0D ΔE 0.065
- Midnight #03012D ΔE 0.073
- Dark Navy Blue #00022E ΔE 0.076
- Rich Navy #001219 ΔE 0.078
- Very Dark Blue #000133 ΔE 0.086
- Dark Navy #000435 ΔE 0.091
- Very Dark Brown #1D0200 ΔE 0.092
- Black #000000 ΔE 0.101
Use #02020C 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.