#393238
Closest named color: Onyx (#343A40). oklch(32.7% 0.014 330.5), rgb(57, 50, 56).
Aa
White text reads best on this color (12.44:1).
About this color
#393238 is a dark close to neutral grey. In OKLCH its lightness is 33%, its chroma 0.014. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.026 away. White text reads best on it, at 12.44:1.
| Hue family | Neutrals |
| Lightness | dark (33%) |
| Chroma | close to neutral grey (0.014) |
| Temperature | neutral |
| Nearest name | Onyx (#343A40) |
| Black text | 1.68:1 |
| White text | 12.44:1 |
Values
| HEX | #393238 |
| RGB | rgb(57, 50, 56) |
| HSL | hsl(309, 7%, 21%) |
| OKLCH | oklch(32.7% 0.014 330.5) |
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 #393238 | 12.44:1 | AAA | Lc -101.7 | Preferred for body text |
| Black text on #393238 | 1.68:1 | Fails | Lc 0.0 | Not readable |
| #393238 text on white | 12.44:1 | AAA | Lc 98.3 | Preferred for body text |
| #393238 text on black | 1.68: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 900.
-
Step 50
50
#F6F5F6
oklch(97.1% 0.002 325.6)
-
Step 100
100
#EBE9EB
oklch(93.6% 0.003 325.6)
-
Step 200
200
#DBD8DB
oklch(88.5% 0.005 325.6)
-
Step 300
300
#C5BEC4
oklch(80.9% 0.011 330.2)
-
Step 400
400
#A79DA6
oklch(70.7% 0.017 328.9)
-
Step 500
500
#928590
oklch(63.2% 0.022 330.8)
-
Step 600
600
#7C6E7A
oklch(55.5% 0.025 330.6)
-
Step 700
700
#685C67
oklch(49% 0.023 328.5)
-
Step 800
800
#554B54
oklch(42.6% 0.02 329.1)
-
Step 900
900 (this color)
#393238
oklch(32.7% 0.014 330.5)
-
Step 950
950
#292528
oklch(27% 0.008 334.4)
#393238 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) | #323338 | 0.012 |
| Deuteranopia (no green cones) | #333438 | 0.012 |
| Tritanopia (no blue cones) | #3A3234 | 0.007 |
| Achromatopsia (no color) | #343434 | 0.014 |
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 #393238, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.026
- Gunmetal #293241 ΔE 0.030
- Space Cadet #2B2D42 ΔE 0.038
- Charcoal Grey #3C4142 ΔE 0.048
- Dark Blue Grey #1F3B4D ΔE 0.051
- Midnight Green #073B4C ΔE 0.064
- Prussian Blue #1D3557 ΔE 0.065
- Jet #212529 ΔE 0.067
Use #393238 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.