#02171D
Closest named color: Rich Navy (#001219). oklch(19% 0.031 218.3), rgb(2, 23, 29).
Aa
White text reads best on this color (18.37:1).
About this color
#02171D is a very dark, muted teal or cyan. In OKLCH its lightness is 19%, its chroma 0.031 and its hue 218°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.021 away. White text reads best on it, at 18.37:1.
| Hue family | Teals and cyans |
| Lightness | very dark (19%) |
| Chroma | muted (0.031) |
| Temperature | cool |
| Nearest name | Rich Navy (#001219) |
| Black text | 1.14:1 |
| White text | 18.37:1 |
Values
| HEX | #02171D |
| RGB | rgb(2, 23, 29) |
| HSL | hsl(193, 87%, 6%) |
| OKLCH | oklch(19% 0.031 218.3) |
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 #02171D | 18.37:1 | AAA | Lc -107.0 | Preferred for body text |
| Black text on #02171D | 1.14:1 | Fails | Lc 0.0 | Not readable |
| #02171D text on white | 18.37:1 | AAA | Lc 104.9 | Preferred for body text |
| #02171D 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
#F2F6F8
oklch(97.1% 0.005 228.8)
-
Step 100
100
#E2ECEF
oklch(93.6% 0.011 217.5)
-
Step 200
200
#CBDDE2
oklch(88.6% 0.021 216.2)
-
Step 300
300
#A7C7D1
oklch(80.9% 0.037 218.7)
-
Step 400
400
#77AAB9
oklch(70.7% 0.058 218.1)
-
Step 500
500
#5095A8
oklch(63.2% 0.075 217.9)
-
Step 600
600
#307F93
oklch(55.7% 0.081 217.6)
-
Step 700
700
#226B7D
oklch(49.1% 0.075 217.7)
-
Step 800
800
#1F5766
oklch(42.7% 0.062 218.7)
-
Step 900
900
#204853
oklch(37.8% 0.049 218.2)
-
Step 950
950 (this color)
#02171D
oklch(19% 0.031 218.3)
#02171D 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) | #13161D | 0.026 |
| Deuteranopia (no green cones) | #0F131D | 0.024 |
| Tritanopia (no blue cones) | #001919 | 0.014 |
| Achromatopsia (no color) | #141414 | 0.031 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #02171D
#02171D
oklch(19% 0.031 218.3)
- #200F09
#200F09
oklch(19.1% 0.031 40.2)
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 #02171D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Navy #001219 ΔE 0.021
- Rich Black #0D1B2A ΔE 0.034
- Almost Black #070D0D ΔE 0.044
- Dark #1B2431 ΔE 0.071
- Jet #212529 ΔE 0.076
- Dark Navy #000435 ΔE 0.083
- Oxford Blue #1B263B ΔE 0.084
- Navy Blue #001146 ΔE 0.085
Use #02171D 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.