#0D171A
Closest named color: Rich Navy (#001219). oklch(19.6% 0.016 218.4), rgb(13, 23, 26).
Aa
White text reads best on this color (18.18:1).
About this color
#0D171A is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.016. It has too little chroma to lean warm or cool. The nearest named color is Rich Navy (#001219), ΔE 0.032 away. White text reads best on it, at 18.18:1.
| Hue family | Neutrals |
| Lightness | very dark (20%) |
| Chroma | close to neutral grey (0.016) |
| Temperature | neutral |
| Nearest name | Rich Navy (#001219) |
| Black text | 1.15:1 |
| White text | 18.18:1 |
Values
| HEX | #0D171A |
| RGB | rgb(13, 23, 26) |
| HSL | hsl(194, 33%, 8%) |
| OKLCH | oklch(19.6% 0.016 218.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 #0D171A | 18.18:1 | AAA | Lc -107.0 | Preferred for body text |
| Black text on #0D171A | 1.15:1 | Fails | Lc 0.0 | Not readable |
| #0D171A text on white | 18.18:1 | AAA | Lc 104.9 | Preferred for body text |
| #0D171A text on black | 1.15: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
#F4F6F6
oklch(97.2% 0.002 197.1)
-
Step 100
100
#E6EBEC
oklch(93.7% 0.006 211)
-
Step 200
200
#D2DBDE
oklch(88.5% 0.011 219.6)
-
Step 300
300
#B4C4C9
oklch(81% 0.019 218.4)
-
Step 400
400
#8DA5AD
oklch(70.6% 0.029 219.9)
-
Step 500
500
#708F99
oklch(63% 0.038 219.5)
-
Step 600
600
#587A84
oklch(55.7% 0.042 217.9)
-
Step 700
700
#486670
oklch(49.1% 0.038 220.6)
-
Step 800
800
#3B535B
oklch(42.6% 0.032 220.5)
-
Step 900
900
#33454B
oklch(37.7% 0.025 220.3)
-
Step 950
950 (this color)
#0D171A
oklch(19.6% 0.016 218.4)
#0D171A 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) | #15161A | 0.014 |
| Deuteranopia (no green cones) | #13151A | 0.012 |
| Tritanopia (no blue cones) | #081818 | 0.010 |
| Achromatopsia (no color) | #151515 | 0.016 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0D171A
#0D171A
oklch(19.6% 0.016 218.4)
- #1C1310
#1C1310
oklch(19.7% 0.016 39.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 #0D171A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Navy #001219 ΔE 0.032
- Rich Black #0D1B2A ΔE 0.032
- Almost Black #070D0D ΔE 0.045
- Dark #1B2431 ΔE 0.064
- Jet #212529 ΔE 0.066
- Oxford Blue #1B263B ΔE 0.080
- Very Dark Brown #1D0200 ΔE 0.083
- Dark Brown #341C02 ΔE 0.089
Use #0D171A 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.