#342D27
Closest named color: Gunmetal (#293241). oklch(30.3% 0.015 62.8), rgb(52, 45, 39).
Aa
White text reads best on this color (13.54:1).
About this color
#342D27 is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.015. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.046 away. White text reads best on it, at 13.54:1.
| Hue family | Neutrals |
| Lightness | dark (30%) |
| Chroma | close to neutral grey (0.015) |
| Temperature | neutral |
| Nearest name | Gunmetal (#293241) |
| Black text | 1.55:1 |
| White text | 13.54:1 |
Values
| HEX | #342D27 |
| RGB | rgb(52, 45, 39) |
| HSL | hsl(28, 14%, 18%) |
| OKLCH | oklch(30.3% 0.015 62.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 #342D27 | 13.54:1 | AAA | Lc -103.2 | Preferred for body text |
| Black text on #342D27 | 1.55:1 | Fails | Lc 0.0 | Not readable |
| #342D27 text on white | 13.54:1 | AAA | Lc 100.0 | Preferred for body text |
| #342D27 text on black | 1.55: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
#F7F5F4
oklch(97.1% 0.003 48.7)
-
Step 100
100
#ECE9E6
oklch(93.6% 0.005 67.8)
-
Step 200
200
#DED8D3
oklch(88.6% 0.009 62.6)
-
Step 300
300
#C9BEB5
oklch(80.8% 0.018 61.9)
-
Step 400
400
#AE9D8F
oklch(70.7% 0.028 61.8)
-
Step 500
500
#9A8574
oklch(63.1% 0.036 61.1)
-
Step 600
600
#846F5C
oklch(55.6% 0.039 64)
-
Step 700
700
#705D4C
oklch(49.2% 0.036 63.7)
-
Step 800
800
#5B4C3E
oklch(42.8% 0.03 64.9)
-
Step 900
900
#4B3F35
oklch(37.7% 0.023 61.8)
-
Step 950
950 (this color)
#342D27
oklch(30.3% 0.015 62.8)
#342D27 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) | #2F2D27 | 0.009 |
| Deuteranopia (no green cones) | #312F27 | 0.008 |
| Tritanopia (no blue cones) | #362C2B | 0.010 |
| Achromatopsia (no color) | #2E2E2E | 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 #342D27, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gunmetal #293241 ΔE 0.046
- Jet #212529 ΔE 0.047
- Pakistan Green #283618 ΔE 0.050
- Space Cadet #2B2D42 ΔE 0.050
- Onyx #343A40 ΔE 0.051
- Dark #1B2431 ΔE 0.062
- Dark Brown #341C02 ΔE 0.063
- Oxford Blue #1B263B ΔE 0.066
Use #342D27 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.