#343A2C

Closest named color: Onyx (#343A40). oklch(33.8% 0.025 126.6), rgb(52, 58, 44).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (34%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.78:1
White text11.74:1

Values

HEX#343A2C
RGBrgb(52, 58, 44)
HSLhsl(86, 14%, 20%)
OKLCHoklch(33.8% 0.025 126.6)

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 #343A2C 11.74:1 AAA Lc -100.6 Preferred for body text
Black text on #343A2C 1.78:1 Fails Lc 0.0 Not readable
#343A2C text on white 11.74:1 AAA Lc 97.0 Preferred for body text
#343A2C text on black 1.78: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

    #E9EAE7

    oklch(93.5% 0.004 121.6)

  3. Step 200

    200

    #D7DAD3

    oklch(88.4% 0.01 125.7)

  4. Step 300

    300

    #BDC3B6

    oklch(80.9% 0.019 127.2)

  5. Step 400

    400

    #9CA490

    oklch(70.7% 0.03 125)

  6. Step 500

    500

    #838E75

    oklch(63.1% 0.039 126.8)

  7. Step 600

    600

    #6D785E

    oklch(55.6% 0.041 126.4)

  8. Step 700

    700

    #5B654D

    oklch(49.1% 0.039 126.2)

  9. Step 800

    800

    #4A523F

    oklch(42.6% 0.032 126.3)

  10. Step 900

    900 (this color)

    #343A2C

    oklch(33.8% 0.025 126.6)

  11. Step 950

    950

    #242820

    oklch(27% 0.016 129.1)

Export this scale for Tailwind in the Tailwind colors tool

#343A2C 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)#3C382B0.014
Deuteranopia (no green cones)#3B382D0.014
Tritanopia (no blue cones)#3539360.019
Achromatopsia (no color)#3838380.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #343A2C

    #343A2C

    oklch(33.8% 0.025 126.6)

  • #3B3442

    #3B3442

    oklch(33.8% 0.026 307.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #343A2C

    #343A2C

    oklch(33.8% 0.025 126.6)

  • #3B3829

    #3B3829

    oklch(33.9% 0.025 98.1)

  • #2D3C32

    #2D3C32

    oklch(33.9% 0.026 155.6)

Open the analogous palette in the generator

Split complementary

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

  • #343A2C

    #343A2C

    oklch(33.8% 0.025 126.6)

  • #343745

    #343745

    oklch(34% 0.025 275.5)

  • #40333C

    #40333C

    oklch(33.9% 0.024 337.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #343A2C

    #343A2C

    oklch(33.8% 0.025 126.6)

  • #2D3944

    #2D3944

    oklch(33.8% 0.025 246.3)

  • #433235

    #433235

    oklch(33.7% 0.025 6.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #343A2C

    #343A2C

    oklch(33.8% 0.025 126.6)

  • #293B40

    #293B40

    oklch(33.9% 0.025 216.8)

  • #3B3442

    #3B3442

    oklch(33.8% 0.026 307.6)

  • #43332E

    #43332E

    oklch(33.7% 0.025 38.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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