#1B181F
Closest named color: Rich Black (#0D1B2A). oklch(21.6% 0.014 304.7), rgb(27, 24, 31).
Aa
White text reads best on this color (17.54:1).
About this color
#1B181F is a very dark close to neutral grey. In OKLCH its lightness is 22%, its chroma 0.014. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.029 away. White text reads best on it, at 17.54:1.
| Hue family | Neutrals |
| Lightness | very dark (22%) |
| Chroma | close to neutral grey (0.014) |
| Temperature | neutral |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.19:1 |
| White text | 17.54:1 |
Values
| HEX | #1B181F |
| RGB | rgb(27, 24, 31) |
| HSL | hsl(266, 13%, 11%) |
| OKLCH | oklch(21.6% 0.014 304.7) |
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 #1B181F | 17.54:1 | AAA | Lc -106.6 | Preferred for body text |
| Black text on #1B181F | 1.19:1 | Fails | Lc 0.0 | Not readable |
| #1B181F text on white | 17.54:1 | AAA | Lc 104.4 | Preferred for body text |
| #1B181F text on black | 1.19: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
#786E85
oklch(55.5% 0.037 304.9)
-
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
#443F4B
oklch(37.7% 0.021 304.3)
-
Step 950
950 (this color)
#1B181F
oklch(21.6% 0.014 304.7)
#1B181F 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) | #17191F | 0.008 |
| Deuteranopia (no green cones) | #17191F | 0.008 |
| Tritanopia (no blue cones) | #1A191A | 0.012 |
| Achromatopsia (no color) | #191919 | 0.014 |
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 #1B181F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.029
- Dark #1B2431 ΔE 0.047
- Jet #212529 ΔE 0.048
- Rich Navy #001219 ΔE 0.057
- Oxford Blue #1B263B ΔE 0.063
- Almost Black #070D0D ΔE 0.066
- Dark Brown #341C02 ΔE 0.073
- Very Dark Purple #2A0134 ΔE 0.085
Use #1B181F 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.