#34342A

Closest named color: Onyx (#343A40). oklch(32.2% 0.017 107.3), rgb(52, 52, 42).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (32%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.67:1
White text12.57:1

Values

HEX#34342A
RGBrgb(52, 52, 42)
HSLhsl(60, 11%, 18%)
OKLCHoklch(32.2% 0.017 107.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 #34342A 12.57:1 AAA Lc -101.9 Preferred for body text
Black text on #34342A 1.67:1 Fails Lc 0.0 Not readable
#34342A text on white 12.57:1 AAA Lc 98.6 Preferred for body text
#34342A text on black 1.67: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.

  1. Step 50

    50

    #F5F5F3

    oklch(97% 0.003 106.4)

  2. Step 100

    100

    #EAEAE6

    oklch(93.6% 0.005 106.5)

  3. Step 200

    200

    #DADAD1

    oklch(88.6% 0.012 106.6)

  4. Step 300

    300

    #C2C2B3

    oklch(81% 0.021 106.9)

  5. Step 400

    400

    #A2A28B

    oklch(70.6% 0.032 107.2)

  6. Step 500

    500

    #8C8C6F

    oklch(63.2% 0.042 107.5)

  7. Step 600

    600

    #767657

    oklch(55.7% 0.045 107.8)

  8. Step 700

    700

    #636347

    oklch(49.2% 0.042 107.9)

  9. Step 800

    800

    #51513A

    oklch(42.8% 0.036 107.8)

  10. Step 900

    900

    #434332

    oklch(37.8% 0.028 107.7)

  11. Step 950

    950 (this color)

    #34342A

    oklch(32.2% 0.017 107.3)

Export this scale for Tailwind in the Tailwind colors tool

#34342A 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)#3633290.004
Deuteranopia (no green cones)#36342A0.004
Tritanopia (no blue cones)#3633310.014
Achromatopsia (no color)#3333330.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #34342A

    #34342A

    oklch(32.2% 0.017 107.3)

  • #32323C

    #32323C

    oklch(32.1% 0.018 285.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34342A

    #34342A

    oklch(32.2% 0.017 107.3)

  • #38322A

    #38322A

    oklch(32.1% 0.016 75)

  • #2F352D

    #2F352D

    oklch(32% 0.016 137.9)

Open the analogous palette in the generator

Split complementary

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

  • #34342A

    #34342A

    oklch(32.2% 0.017 107.3)

  • #2E343C

    #2E343C

    oklch(32.3% 0.016 255.6)

  • #373139

    #373139

    oklch(32.3% 0.016 317.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34342A

    #34342A

    oklch(32.2% 0.017 107.3)

  • #2A353A

    #2A353A

    oklch(32.1% 0.017 227.2)

  • #3A3035

    #3A3035

    oklch(32.2% 0.017 346.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34342A

    #34342A

    oklch(32.2% 0.017 107.3)

  • #293636

    #293636

    oklch(32.1% 0.017 196.3)

  • #32323C

    #32323C

    oklch(32.1% 0.018 285.4)

  • #3C3030

    #3C3030

    oklch(32.2% 0.017 18.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34342A 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.