#42383B
Closest named color: Onyx (#343A40). oklch(35.2% 0.015 357.8), rgb(66, 56, 59).
Aa
White text reads best on this color (11.28:1).
About this color
#42383B is a dark close to neutral grey. In OKLCH its lightness is 35%, its chroma 0.015. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.024 away. White text reads best on it, at 11.28:1.
| Hue family | Neutrals |
| Lightness | dark (35%) |
| Chroma | close to neutral grey (0.015) |
| Temperature | neutral |
| Nearest name | Onyx (#343A40) |
| Black text | 1.86:1 |
| White text | 11.28:1 |
Values
| HEX | #42383B |
| RGB | rgb(66, 56, 59) |
| HSL | hsl(342, 8%, 24%) |
| OKLCH | oklch(35.2% 0.015 357.8) |
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 #42383B | 11.28:1 | AAA | Lc -99.8 | Preferred for body text |
| Black text on #42383B | 1.86:1 | Fails | Lc 7.8 | Not readable |
| #42383B text on white | 11.28:1 | AAA | Lc 96.1 | Preferred for body text |
| #42383B text on black | 1.86: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
#F6F5F5
oklch(97.1% 0.001 17.2)
-
Step 100
100
#ECE9EA
oklch(93.7% 0.003 354.7)
-
Step 200
200
#DDD7D9
oklch(88.4% 0.007 354.8)
-
Step 300
300
#C7BEC0
oklch(80.9% 0.01 2.1)
-
Step 400
400
#AB9CA0
oklch(70.7% 0.018 359.5)
-
Step 500
500
#968489
oklch(63.1% 0.023 359.1)
-
Step 600
600
#806E73
oklch(55.7% 0.024 359.3)
-
Step 700
700
#6C5B61
oklch(49% 0.024 354.8)
-
Step 800
800
#584B4F
oklch(42.7% 0.019 357.4)
-
Step 900
900 (this color)
#42383B
oklch(35.2% 0.015 357.8)
-
Step 950
950
#2B2526
oklch(27.2% 0.009 6.3)
#42383B 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) | #393A3B | 0.016 |
| Deuteranopia (no green cones) | #3B3B3B | 0.015 |
| Tritanopia (no blue cones) | #443839 | 0.005 |
| Achromatopsia (no color) | #3B3B3B | 0.015 |
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 #42383B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.024
- Charcoal Grey #3C4142 ΔE 0.028
- Gunmetal #293241 ΔE 0.051
- Dark Blue Grey #1F3B4D ΔE 0.057
- Charcoal #264653 ΔE 0.059
- Space Cadet #2B2D42 ΔE 0.061
- Dark Grey Blue #29465B ΔE 0.065
- Purple Brown #673A3F ΔE 0.073
Use #42383B 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.