#28181B
Closest named color: Jet (#212529). oklch(23.1% 0.026 7), rgb(40, 24, 27).
Aa
White text reads best on this color (16.98:1).
About this color
#28181B is a very dark close to neutral grey. In OKLCH its lightness is 23%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.044 away. White text reads best on it, at 16.98:1.
| Hue family | Neutrals |
| Lightness | very dark (23%) |
| Chroma | close to neutral grey (0.026) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.23:1 |
| White text | 16.98:1 |
Values
| HEX | #28181B |
| RGB | rgb(40, 24, 27) |
| HSL | hsl(349, 25%, 13%) |
| OKLCH | oklch(23.1% 0.026 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 #28181B | 16.98:1 | AAA | Lc -106.2 | Preferred for body text |
| Black text on #28181B | 1.23:1 | Fails | Lc 0.0 | Not readable |
| #28181B text on white | 16.98:1 | AAA | Lc 103.8 | Preferred for body text |
| #28181B text on black | 1.23: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
#F8F4F5
oklch(97.1% 0.004 360)
-
Step 100
100
#F0E7E9
oklch(93.6% 0.01 2)
-
Step 200
200
#E4D5D7
oklch(88.6% 0.017 8.2)
-
Step 300
300
#D3B9BD
oklch(80.9% 0.03 7.3)
-
Step 400
400
#BD949B
oklch(70.7% 0.05 7)
-
Step 500
500
#AC7A83
oklch(63.2% 0.063 7.1)
-
Step 600
600
#96626C
oklch(55.5% 0.069 7)
-
Step 700
700
#80515A
oklch(49% 0.064 7.2)
-
Step 800
800
#68434A
oklch(42.7% 0.052 7.1)
-
Step 900
900
#55383E
oklch(37.6% 0.042 5.7)
-
Step 950
950 (this color)
#28181B
oklch(23.1% 0.026 7)
#28181B 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) | #1A1B1B | 0.030 |
| Deuteranopia (no green cones) | #1E1D1B | 0.026 |
| Tritanopia (no blue cones) | #2B1719 | 0.007 |
| Achromatopsia (no color) | #1C1C1C | 0.027 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #28181B
#28181B
oklch(23.1% 0.026 7)
- #0D211F
#0D211F
oklch(23% 0.026 187.1)
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 #28181B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.044
- Dark Brown #341C02 ΔE 0.051
- Dark #1B2431 ΔE 0.052
- Rich Black #0D1B2A ΔE 0.054
- Dark Maroon #3C0008 ΔE 0.066
- Oxford Blue #1B263B ΔE 0.067
- Chocolate Brown #411900 ΔE 0.067
- Deep Brown #410200 ΔE 0.071
Use #28181B 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.