#18151C
Closest named color: Rich Black (#0D1B2A). oklch(20.2% 0.014 304.6), rgb(24, 21, 28).
Aa
White text reads best on this color (18.05:1).
About this color
#18151C is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.014. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.033 away. White text reads best on it, at 18.05:1.
| Hue family | Neutrals |
| Lightness | very dark (20%) |
| Chroma | close to neutral grey (0.014) |
| Temperature | neutral |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.16:1 |
| White text | 18.05:1 |
Values
| HEX | #18151C |
| RGB | rgb(24, 21, 28) |
| HSL | hsl(266, 14%, 10%) |
| OKLCH | oklch(20.2% 0.014 304.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 #18151C | 18.05:1 | AAA | Lc -106.9 | Preferred for body text |
| Black text on #18151C | 1.16:1 | Fails | Lc 0.0 | Not readable |
| #18151C text on white | 18.05:1 | AAA | Lc 104.8 | Preferred for body text |
| #18151C text on black | 1.16: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
#F6F5F7
oklch(97.1% 0.003 308.4)
-
Step 100
100
#EAE9EC
oklch(93.6% 0.004 301.4)
-
Step 200
200
#DAD8DE
oklch(88.6% 0.008 301.3)
-
Step 300
300
#C3BECA
oklch(80.9% 0.017 304.7)
-
Step 400
400
#A49DAF
oklch(70.8% 0.027 303.3)
-
Step 500
500
#8E859B
oklch(63.2% 0.034 304)
-
Step 600
600
#786E86
oklch(55.6% 0.038 304.1)
-
Step 700
700
#655C71
oklch(49.1% 0.035 304.6)
-
Step 800
800
#524B5C
oklch(42.6% 0.029 303.9)
-
Step 900
900
#443F4C
oklch(37.8% 0.023 302.8)
-
Step 950
950 (this color)
#18151C
oklch(20.2% 0.014 304.6)
#18151C 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) | #14161C | 0.008 |
| Deuteranopia (no green cones) | #14161C | 0.008 |
| Tritanopia (no blue cones) | #171617 | 0.012 |
| Achromatopsia (no color) | #161616 | 0.015 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #18151C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.033
- Rich Navy #001219 ΔE 0.047
- Almost Black #070D0D ΔE 0.054
- Dark #1B2431 ΔE 0.059
- Jet #212529 ΔE 0.061
- Oxford Blue #1B263B ΔE 0.074
- Very Dark Brown #1D0200 ΔE 0.076
- Dark Brown #341C02 ΔE 0.081
Use #18151C 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.