#343D31

Closest named color: Onyx (#343A40). oklch(34.8% 0.024 137.9), rgb(52, 61, 49).

Aa

White text reads best on this color (11.30:1).

About this color

#343D31 is a dark close to neutral grey. In OKLCH its lightness is 35%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.031 away. White text reads best on it, at 11.30:1.

Hue familyNeutrals
Lightnessdark (35%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.85:1
White text11.30:1

Values

HEX#343D31
RGBrgb(52, 61, 49)
HSLhsl(105, 11%, 22%)
OKLCHoklch(34.8% 0.024 137.9)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #343D31 11.30:1 AAA Lc -99.8 Preferred for body text
Black text on #343D31 1.85:1 Fails Lc 7.8 Not readable
#343D31 text on white 11.30:1 AAA Lc 96.1 Preferred for body text
#343D31 text on black 1.85: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.

  1. Step 50

    50

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E8EBE7

    oklch(93.7% 0.006 137.8)

  3. Step 200

    200

    #D6DBD4

    oklch(88.6% 0.011 136.6)

  4. Step 300

    300

    #BBC3B8

    oklch(80.8% 0.018 137)

  5. Step 400

    400

    #98A594

    oklch(70.7% 0.028 138.3)

  6. Step 500

    500

    #7F8F7A

    oklch(63.1% 0.036 138.2)

  7. Step 600

    600

    #687963

    oklch(55.6% 0.039 138.6)

  8. Step 700

    700

    #576652

    oklch(49.2% 0.036 137.9)

  9. Step 800

    800

    #475343

    oklch(42.7% 0.03 137.9)

  10. Step 900

    900 (this color)

    #343D31

    oklch(34.8% 0.024 137.9)

  11. Step 950

    950

    #232821

    oklch(26.9% 0.015 136.7)

Export this scale for Tailwind in the Tailwind colors tool

#343D31 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#3E3B300.017
Deuteranopia (no green cones)#3C3A320.016
Tritanopia (no blue cones)#343C3A0.017
Achromatopsia (no color)#3A3A3A0.024

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #343D31

    #343D31

    oklch(34.8% 0.024 137.9)

  • #3F3642

    #3F3642

    oklch(34.7% 0.024 317.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #343D31

    #343D31

    oklch(34.8% 0.024 137.9)

  • #3B3B2D

    #3B3B2D

    oklch(34.8% 0.023 107.6)

  • #2E3E37

    #2E3E37

    oklch(34.7% 0.024 166.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #343D31

    #343D31

    oklch(34.8% 0.024 137.9)

  • #393846

    #393846

    oklch(34.7% 0.024 288.3)

  • #44353C

    #44353C

    oklch(34.8% 0.024 348.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #343D31

    #343D31

    oklch(34.8% 0.024 137.9)

  • #323A46

    #323A46

    oklch(34.6% 0.024 258.4)

  • #463535

    #463535

    oklch(34.8% 0.025 18.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #343D31

    #343D31

    oklch(34.8% 0.024 137.9)

  • #2D3D44

    #2D3D44

    oklch(34.9% 0.024 226.6)

  • #3F3642

    #3F3642

    oklch(34.7% 0.024 317.7)

  • #45362F

    #45362F

    oklch(34.7% 0.025 46.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #343D31, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #343D31 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.