#28212F
Closest named color: Dark (#1B2431). oklch(26.2% 0.027 307.3), rgb(40, 33, 47).
Aa
White text reads best on this color (15.56:1).
About this color
#28212F is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.024 away. White text reads best on it, at 15.56:1.
| Hue family | Neutrals |
| Lightness | dark (26%) |
| Chroma | close to neutral grey (0.027) |
| Temperature | neutral |
| Nearest name | Dark (#1B2431) |
| Black text | 1.34:1 |
| White text | 15.56:1 |
Values
| HEX | #28212F |
| RGB | rgb(40, 33, 47) |
| HSL | hsl(270, 18%, 16%) |
| OKLCH | oklch(26.2% 0.027 307.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 #28212F | 15.56:1 | AAA | Lc -105.2 | Preferred for body text |
| Black text on #28212F | 1.34:1 | Fails | Lc 0.0 | Not readable |
| #28212F text on white | 15.56:1 | AAA | Lc 102.5 | Preferred for body text |
| #28212F text on black | 1.34: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
#F6F5F8
oklch(97.2% 0.004 301.4)
-
Step 100
100
#EBE8EF
oklch(93.5% 0.01 305.4)
-
Step 200
200
#DCD6E3
oklch(88.5% 0.019 306.6)
-
Step 300
300
#C6BBD1
oklch(80.8% 0.033 308)
-
Step 400
400
#A998BA
oklch(70.6% 0.052 307.6)
-
Step 500
500
#947FA9
oklch(63.1% 0.066 307.3)
-
Step 600
600
#7F6895
oklch(55.7% 0.073 307.5)
-
Step 700
700
#6B567F
oklch(49% 0.069 307.4)
-
Step 800
800
#574767
oklch(42.7% 0.055 307)
-
Step 900
900
#483C54
oklch(37.9% 0.043 307.2)
-
Step 950
950 (this color)
#28212F
oklch(26.2% 0.027 307.3)
#28212F 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) | #1F2330 | 0.017 |
| Deuteranopia (no green cones) | #20242F | 0.017 |
| Tritanopia (no blue cones) | #272326 | 0.021 |
| Achromatopsia (no color) | #242424 | 0.028 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #28212F
#28212F
oklch(26.2% 0.027 307.3)
- #212719
#212719
oklch(26.2% 0.026 127)
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 #28212F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark #1B2431 ΔE 0.024
- Jet #212529 ΔE 0.024
- Oxford Blue #1B263B ΔE 0.031
- Space Cadet #2B2D42 ΔE 0.047
- Rich Black #0D1B2A ΔE 0.054
- Gunmetal #293241 ΔE 0.058
- Dark Brown #341C02 ΔE 0.072
- Eggplant #380835 ΔE 0.073
Use #28212F 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.