#342E35
Closest named color: Gunmetal (#293241). oklch(31% 0.015 321.4), rgb(52, 46, 53).
Aa
White text reads best on this color (13.22:1).
About this color
#342E35 is a dark close to neutral grey. In OKLCH its lightness is 31%, its chroma 0.015. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.026 away. White text reads best on it, at 13.22:1.
| Hue family | Neutrals |
| Lightness | dark (31%) |
| Chroma | close to neutral grey (0.015) |
| Temperature | neutral |
| Nearest name | Gunmetal (#293241) |
| Black text | 1.58:1 |
| White text | 13.22:1 |
Values
| HEX | #342E35 |
| RGB | rgb(52, 46, 53) |
| HSL | hsl(291, 7%, 19%) |
| OKLCH | oklch(31% 0.015 321.4) |
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 #342E35 | 13.22:1 | AAA | Lc -102.8 | Preferred for body text |
| Black text on #342E35 | 1.58:1 | Fails | Lc 0.0 | Not readable |
| #342E35 text on white | 13.22:1 | AAA | Lc 99.6 | Preferred for body text |
| #342E35 text on black | 1.58: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
#EBE9EC
oklch(93.6% 0.005 314.8)
-
Step 200
200
#DCD7DD
oklch(88.5% 0.01 320.5)
-
Step 300
300
#C6BDC8
oklch(80.9% 0.018 320.1)
-
Step 400
400
#A99BAB
oklch(70.7% 0.028 322)
-
Step 500
500
#948397
oklch(63.2% 0.035 321.2)
-
Step 600
600
#7E6C81
oklch(55.5% 0.039 321.5)
-
Step 700
700
#6B5A6D
oklch(49.1% 0.036 322.7)
-
Step 800
800
#574A59
oklch(42.8% 0.03 321.8)
-
Step 900
900
#483E49
oklch(37.8% 0.023 323.2)
-
Step 950
950 (this color)
#342E35
oklch(31% 0.015 321.4)
#342E35 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) | #2D2F35 | 0.013 |
| Deuteranopia (no green cones) | #2F3035 | 0.011 |
| Tritanopia (no blue cones) | #342F30 | 0.011 |
| Achromatopsia (no color) | #303030 | 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 #342E35, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gunmetal #293241 ΔE 0.026
- Space Cadet #2B2D42 ΔE 0.029
- Onyx #343A40 ΔE 0.039
- Jet #212529 ΔE 0.051
- Dark Blue Grey #1F3B4D ΔE 0.055
- Oxford Blue #1B263B ΔE 0.055
- Dark #1B2431 ΔE 0.058
- Charcoal Grey #3C4142 ΔE 0.063
Use #342E35 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.