#343B2F

Closest named color: Onyx (#343A40). oklch(34.2% 0.023 132.3), rgb(52, 59, 47).

Aa

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

About this color

#343B2F is a dark close to neutral grey. In OKLCH its lightness is 34%, its chroma 0.023. 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.58:1.

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

Values

HEX#343B2F
RGBrgb(52, 59, 47)
HSLhsl(95, 11%, 21%)
OKLCHoklch(34.2% 0.023 132.3)

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 #343B2F 11.58:1 AAA Lc -100.3 Preferred for body text
Black text on #343B2F 1.81:1 Fails Lc 0.0 Not readable
#343B2F text on white 11.58:1 AAA Lc 96.7 Preferred for body text
#343B2F text on black 1.81: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

    #E8EAE7

    oklch(93.5% 0.005 134.9)

  3. Step 200

    200

    #D7DAD4

    oklch(88.4% 0.009 128.6)

  4. Step 300

    300

    #BCC3B8

    oklch(80.9% 0.017 133.8)

  5. Step 400

    400

    #9AA493

    oklch(70.6% 0.027 132.2)

  6. Step 500

    500

    #828E79

    oklch(63.1% 0.034 131.7)

  7. Step 600

    600

    #6B7862

    oklch(55.5% 0.037 132.6)

  8. Step 700

    700

    #596551

    oklch(49% 0.034 132.9)

  9. Step 800

    800

    #495342

    oklch(42.8% 0.03 132.5)

  10. Step 900

    900 (this color)

    #343B2F

    oklch(34.2% 0.023 132.3)

  11. Step 950

    950

    #242821

    oklch(27% 0.014 131.7)

Export this scale for Tailwind in the Tailwind colors tool

#343B2F 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)#3C392E0.014
Deuteranopia (no green cones)#3B39300.014
Tritanopia (no blue cones)#343A380.017
Achromatopsia (no color)#3939390.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #343B2F

    #343B2F

    oklch(34.2% 0.023 132.3)

  • #3C3541

    #3C3541

    oklch(34.1% 0.023 311.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #343B2F

    #343B2F

    oklch(34.2% 0.023 132.3)

  • #3A392C

    #3A392C

    oklch(34.1% 0.022 103.8)

  • #2E3C35

    #2E3C35

    oklch(34.1% 0.022 163.3)

Open the analogous palette in the generator

Split complementary

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

  • #343B2F

    #343B2F

    oklch(34.2% 0.023 132.3)

  • #363744

    #363744

    oklch(34.1% 0.023 281.7)

  • #41343C

    #41343C

    oklch(34.2% 0.023 340.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #343B2F

    #343B2F

    oklch(34.2% 0.023 132.3)

  • #303944

    #303944

    oklch(34.1% 0.023 253.6)

  • #433435

    #433435

    oklch(34.2% 0.022 13.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #343B2F

    #343B2F

    oklch(34.2% 0.023 132.3)

  • #2C3B41

    #2C3B41

    oklch(34.2% 0.022 224.3)

  • #3C3541

    #3C3541

    oklch(34.1% 0.023 311.2)

  • #43352F

    #43352F

    oklch(34.2% 0.023 44.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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