#28252B
Closest named color: Jet (#212529). oklch(27% 0.012 308), rgb(40, 37, 43).
Aa
White text reads best on this color (15.11:1).
About this color
#28252B is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.012. 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.11:1.
| Hue family | Neutrals |
| Lightness | dark (27%) |
| Chroma | close to neutral grey (0.012) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.38:1 |
| White text | 15.11:1 |
Values
| HEX | #28252B |
| RGB | rgb(40, 37, 43) |
| HSL | hsl(270, 8%, 16%) |
| OKLCH | oklch(27% 0.012 308) |
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 #28252B | 15.11:1 | AAA | Lc -104.8 | Preferred for body text |
| Black text on #28252B | 1.38:1 | Fails | Lc 0.0 | Not readable |
| #28252B text on white | 15.11:1 | AAA | Lc 102.0 | Preferred for body text |
| #28252B text on black | 1.38: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
#F6F5F6
oklch(97.1% 0.002 325.6)
-
Step 100
100
#EAE9EC
oklch(93.6% 0.004 301.4)
-
Step 200
200
#DAD8DD
oklch(88.5% 0.007 304.2)
-
Step 300
300
#C3BEC8
oklch(80.9% 0.015 308.3)
-
Step 400
400
#A49DAC
oklch(70.7% 0.023 306.7)
-
Step 500
500
#8E8597
oklch(63.1% 0.029 308)
-
Step 600
600
#786F82
oklch(55.6% 0.031 306.7)
-
Step 700
700
#655D6E
oklch(49.2% 0.028 306.6)
-
Step 800
800
#534C59
oklch(42.8% 0.023 309.5)
-
Step 900
900
#443F49
oklch(37.6% 0.018 307.9)
-
Step 950
950 (this color)
#28252B
oklch(27% 0.012 308)
#28252B 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) | #24262B | 0.008 |
| Deuteranopia (no green cones) | #25262B | 0.006 |
| Tritanopia (no blue cones) | #282627 | 0.009 |
| Achromatopsia (no color) | #262626 | 0.012 |
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 #28252B, 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.025
- Oxford Blue #1B263B ΔE 0.035
- Space Cadet #2B2D42 ΔE 0.045
- Gunmetal #293241 ΔE 0.051
- Rich Black #0D1B2A ΔE 0.061
- Dark Brown #341C02 ΔE 0.063
- Chocolate Brown #411900 ΔE 0.075
Use #28252B 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.