#181B22
Closest named color: Rich Black (#0D1B2A). oklch(22.2% 0.014 266.9), rgb(24, 27, 34).
Aa
White text reads best on this color (17.23:1).
About this color
#181B22 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.022 away. White text reads best on it, at 17.23: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.21:1 |
| White text | 17.23:1 |
Values
| HEX | #181B22 |
| RGB | rgb(24, 27, 34) |
| HSL | hsl(222, 17%, 11%) |
| OKLCH | oklch(22.2% 0.014 266.9) |
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 #181B22 | 17.23:1 | AAA | Lc -106.4 | Preferred for body text |
| Black text on #181B22 | 1.21:1 | Fails | Lc 0.0 | Not readable |
| #181B22 text on white | 17.23:1 | AAA | Lc 104.1 | Preferred for body text |
| #181B22 text on black | 1.21: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
#F5F5F7
oklch(97.1% 0.003 286.4)
-
Step 100
100
#E8EAED
oklch(93.6% 0.005 258.3)
-
Step 200
200
#D6D9E0
oklch(88.5% 0.01 267.4)
-
Step 300
300
#BBC1CC
oklch(81% 0.017 262.7)
-
Step 400
400
#99A1B2
oklch(70.8% 0.026 265.5)
-
Step 500
500
#80899F
oklch(63% 0.035 267.8)
-
Step 600
600
#69738A
oklch(55.6% 0.038 266.7)
-
Step 700
700
#586075
oklch(49% 0.035 268.7)
-
Step 800
800
#484F5F
oklch(42.8% 0.028 266.6)
-
Step 900
900
#3C414E
oklch(37.6% 0.023 268.7)
-
Step 950
950 (this color)
#181B22
oklch(22.2% 0.014 266.9)
#181B22 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) | #191B22 | 0.002 |
| Deuteranopia (no green cones) | #181B22 | 0.000 |
| Tritanopia (no blue cones) | #161C1D | 0.012 |
| Achromatopsia (no color) | #1B1B1B | 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 #181B22, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.022
- Dark #1B2431 ΔE 0.038
- Jet #212529 ΔE 0.040
- Oxford Blue #1B263B ΔE 0.055
- Rich Navy #001219 ΔE 0.058
- Almost Black #070D0D ΔE 0.071
- Dark Brown #341C02 ΔE 0.075
- Space Cadet #2B2D42 ΔE 0.086
Use #181B22 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.