#281817
Closest named color: Dark Brown (#341C02). oklch(23% 0.026 23.3), rgb(40, 24, 23).
Aa
White text reads best on this color (17.02:1).
About this color
#281817 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 Dark Brown (#341C02), ΔE 0.045 away. White text reads best on it, at 17.02:1.
| Hue family | Neutrals |
| Lightness | very dark (23%) |
| Chroma | close to neutral grey (0.026) |
| Temperature | neutral |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.23:1 |
| White text | 17.02:1 |
Values
| HEX | #281817 |
| RGB | rgb(40, 24, 23) |
| HSL | hsl(4, 27%, 12%) |
| OKLCH | oklch(23% 0.026 23.3) |
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 #281817 | 17.02:1 | AAA | Lc -106.2 | Preferred for body text |
| Black text on #281817 | 1.23:1 | Fails | Lc 0.0 | Not readable |
| #281817 text on white | 17.02:1 | AAA | Lc 103.9 | Preferred for body text |
| #281817 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
#F8F4F4
oklch(97% 0.004 17.2)
-
Step 100
100
#F0E8E7
oklch(93.7% 0.009 26)
-
Step 200
200
#E4D5D4
oklch(88.5% 0.017 22.1)
-
Step 300
300
#D4B9B7
oklch(80.8% 0.031 22.9)
-
Step 400
400
#BE9592
oklch(70.7% 0.05 23.2)
-
Step 500
500
#AD7B77
oklch(63.2% 0.063 24.1)
-
Step 600
600
#986360
oklch(55.6% 0.069 23.1)
-
Step 700
700
#81524F
oklch(49% 0.064 23.6)
-
Step 800
800
#694341
oklch(42.6% 0.053 22.8)
-
Step 900
900
#563937
oklch(37.8% 0.042 23.6)
-
Step 950
950 (this color)
#281817
oklch(23% 0.026 23.3)
#281817 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) | #1B1A17 | 0.027 |
| Deuteranopia (no green cones) | #1F1D17 | 0.024 |
| Tritanopia (no blue cones) | #2B1618 | 0.010 |
| Achromatopsia (no color) | #1C1C1C | 0.026 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #281817
#281817
oklch(23% 0.026 23.3)
- #0D2022
#0D2022
oklch(22.8% 0.025 204.4)
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 #281817, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.045
- Jet #212529 ΔE 0.047
- Dark #1B2431 ΔE 0.056
- Rich Black #0D1B2A ΔE 0.058
- Chocolate Brown #411900 ΔE 0.064
- Dark Maroon #3C0008 ΔE 0.065
- Deep Brown #410200 ΔE 0.069
- Oxford Blue #1B263B ΔE 0.072
Use #281817 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.