#212827
Closest named color: Jet (#212529). oklch(27% 0.01 186.1), rgb(33, 40, 39).
Aa
White text reads best on this color (15.02:1).
About this color
#212827 is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.010. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.013 away. White text reads best on it, at 15.02:1.
| Hue family | Neutrals |
| Lightness | dark (27%) |
| Chroma | close to neutral grey (0.010) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.39:1 |
| White text | 15.02:1 |
Values
| HEX | #212827 |
| RGB | rgb(33, 40, 39) |
| HSL | hsl(171, 10%, 14%) |
| OKLCH | oklch(27% 0.01 186.1) |
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 #212827 | 15.02:1 | AAA | Lc -104.7 | Preferred for body text |
| Black text on #212827 | 1.39:1 | Fails | Lc 0.0 | Not readable |
| #212827 text on white | 15.02:1 | AAA | Lc 101.9 | Preferred for body text |
| #212827 text on black | 1.39: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
#F4F6F5
oklch(97.1% 0.002 165.1)
-
Step 100
100
#E7EAEA
oklch(93.5% 0.003 197.1)
-
Step 200
200
#D4DBDA
oklch(88.6% 0.008 186.9)
-
Step 300
300
#B9C3C2
oklch(80.9% 0.011 189.8)
-
Step 400
400
#94A5A2
oklch(70.8% 0.02 184)
-
Step 500
500
#7A8F8C
oklch(63.3% 0.024 186.1)
-
Step 600
600
#627976
oklch(55.7% 0.027 186.7)
-
Step 700
700
#516563
oklch(49% 0.024 188.9)
-
Step 800
800
#435351
oklch(42.8% 0.02 187.1)
-
Step 900
900
#384443
oklch(37.6% 0.016 190.3)
-
Step 950
950 (this color)
#212827
oklch(27% 0.01 186.1)
#212827 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) | #272727 | 0.011 |
| Deuteranopia (no green cones) | #262627 | 0.011 |
| Tritanopia (no blue cones) | #1F2828 | 0.004 |
| Achromatopsia (no color) | #272727 | 0.011 |
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 #212827, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.013
- Dark #1B2431 ΔE 0.029
- Oxford Blue #1B263B ΔE 0.041
- Space Cadet #2B2D42 ΔE 0.053
- Gunmetal #293241 ΔE 0.054
- Rich Black #0D1B2A ΔE 0.061
- Dark Brown #341C02 ΔE 0.062
- Pakistan Green #283618 ΔE 0.064
Use #212827 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.