#021817
Closest named color: Rich Navy (#001219). oklch(19% 0.03 191), rgb(2, 24, 23).
Aa
White text reads best on this color (18.33:1).
About this color
#021817 is a very dark close to neutral grey. In OKLCH its lightness is 19%, its chroma 0.030. It has too little chroma to lean warm or cool. The nearest named color is Rich Navy (#001219), ΔE 0.027 away. White text reads best on it, at 18.33:1.
| Hue family | Neutrals |
| Lightness | very dark (19%) |
| Chroma | close to neutral grey (0.030) |
| Temperature | neutral |
| Nearest name | Rich Navy (#001219) |
| Black text | 1.14:1 |
| White text | 18.33:1 |
Values
| HEX | #021817 |
| RGB | rgb(2, 24, 23) |
| HSL | hsl(177, 85%, 5%) |
| OKLCH | oklch(19% 0.03 191) |
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 #021817 | 18.33:1 | AAA | Lc -107.0 | Preferred for body text |
| Black text on #021817 | 1.14:1 | Fails | Lc 0.0 | Not readable |
| #021817 text on white | 18.33:1 | AAA | Lc 104.9 | Preferred for body text |
| #021817 text on black | 1.14: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
#F2F6F6
oklch(97% 0.004 197.1)
-
Step 100
100
#E3ECEB
oklch(93.6% 0.01 189.1)
-
Step 200
200
#CBDDDC
oklch(88.4% 0.019 192.8)
-
Step 300
300
#A8C8C6
oklch(80.9% 0.034 191.8)
-
Step 400
400
#77ACA9
oklch(70.7% 0.056 191.5)
-
Step 500
500
#519894
oklch(63.2% 0.072 190.7)
-
Step 600
600
#30827E
oklch(55.6% 0.079 190.6)
-
Step 700
700
#226E6B
oklch(49.2% 0.073 191.3)
-
Step 800
800
#1F5957
oklch(42.6% 0.059 192)
-
Step 900
900
#204A47
oklch(37.8% 0.047 189.2)
-
Step 950
950 (this color)
#021817
oklch(19% 0.03 191)
#021817 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) | #161617 | 0.032 |
| Deuteranopia (no green cones) | #121317 | 0.030 |
| Tritanopia (no blue cones) | #001918 | 0.004 |
| Achromatopsia (no color) | #151515 | 0.030 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #021817
#021817
oklch(19% 0.03 191)
- #1F0E10
#1F0E10
oklch(19% 0.029 12.6)
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 #021817, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Navy #001219 ΔE 0.027
- Almost Black #070D0D ΔE 0.043
- Rich Black #0D1B2A ΔE 0.043
- Dark #1B2431 ΔE 0.075
- Jet #212529 ΔE 0.076
- Oxford Blue #1B263B ΔE 0.090
- Very Dark Brown #1D0200 ΔE 0.091
- Dark Forest Green #002D04 ΔE 0.095
Use #021817 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.