#0C1817
Closest named color: Rich Navy (#001219). oklch(19.7% 0.017 189.2), rgb(12, 24, 23).
Aa
White text reads best on this color (18.12:1).
About this color
#0C1817 is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.017. It has too little chroma to lean warm or cool. The nearest named color is Rich Navy (#001219), ΔE 0.034 away. White text reads best on it, at 18.12:1.
| Hue family | Neutrals |
| Lightness | very dark (20%) |
| Chroma | close to neutral grey (0.017) |
| Temperature | neutral |
| Nearest name | Rich Navy (#001219) |
| Black text | 1.15:1 |
| White text | 18.12:1 |
Values
| HEX | #0C1817 |
| RGB | rgb(12, 24, 23) |
| HSL | hsl(175, 33%, 7%) |
| OKLCH | oklch(19.7% 0.017 189.2) |
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 #0C1817 | 18.12:1 | AAA | Lc -107.0 | Preferred for body text |
| Black text on #0C1817 | 1.15:1 | Fails | Lc 0.0 | Not readable |
| #0C1817 text on white | 18.12:1 | AAA | Lc 104.8 | Preferred for body text |
| #0C1817 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
#F3F6F6
oklch(97.1% 0.003 197.1)
-
Step 100
100
#E6EBEA
oklch(93.6% 0.006 183)
-
Step 200
200
#D1DCDA
oklch(88.6% 0.012 184)
-
Step 300
300
#B2C5C3
oklch(80.8% 0.021 189.1)
-
Step 400
400
#8AA8A5
oklch(70.8% 0.033 189)
-
Step 500
500
#6C928F
oklch(63.1% 0.042 190.1)
-
Step 600
600
#547C79
oklch(55.6% 0.045 190)
-
Step 700
700
#446966
oklch(49.2% 0.042 189.4)
-
Step 800
800
#385553
oklch(42.6% 0.035 190.5)
-
Step 900
900
#314645
oklch(37.6% 0.026 192.4)
-
Step 950
950 (this color)
#0C1817
oklch(19.7% 0.017 189.2)
#0C1817 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) | #171717 | 0.019 |
| Deuteranopia (no green cones) | #151517 | 0.018 |
| Tritanopia (no blue cones) | #081918 | 0.006 |
| Achromatopsia (no color) | #161616 | 0.018 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C1817
#0C1817
oklch(19.7% 0.017 189.2)
- #1C1214
#1C1214
oklch(19.6% 0.017 5.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 #0C1817, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Navy #001219 ΔE 0.034
- Rich Black #0D1B2A ΔE 0.037
- Almost Black #070D0D ΔE 0.046
- Dark #1B2431 ΔE 0.066
- Jet #212529 ΔE 0.066
- Oxford Blue #1B263B ΔE 0.083
- Very Dark Brown #1D0200 ΔE 0.084
- Dark Brown #341C02 ΔE 0.086
Use #0C1817 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.