#342A32

Closest named color: Space Cadet (#2B2D42). oklch(29.9% 0.02 333), rgb(52, 42, 50).

Aa

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

About this color

#342A32 is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Space Cadet (#2B2D42), ΔE 0.031 away. White text reads best on it, at 13.78:1.

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameSpace Cadet (#2B2D42)
Black text1.52:1
White text13.78:1

Values

HEX#342A32
RGBrgb(52, 42, 50)
HSLhsl(312, 11%, 18%)
OKLCHoklch(29.9% 0.02 333)

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 #342A32 13.78:1 AAA Lc -103.4 Preferred for body text
Black text on #342A32 1.52:1 Fails Lc 0.0 Not readable
#342A32 text on white 13.78:1 AAA Lc 100.4 Preferred for body text
#342A32 text on black 1.52: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

    #F7F5F6

    oklch(97.2% 0.002 345.2)

  2. Step 100

    100

    #EDE8EC

    oklch(93.6% 0.008 332.1)

  3. Step 200

    200

    #DFD6DD

    oklch(88.5% 0.014 333.1)

  4. Step 300

    300

    #CBBBC7

    oklch(80.9% 0.024 334.4)

  5. Step 400

    400

    #B098AB

    oklch(70.7% 0.039 333.1)

  6. Step 500

    500

    #9C7F96

    oklch(63.1% 0.048 333.4)

  7. Step 600

    600

    #876881

    oklch(55.7% 0.054 333.1)

  8. Step 700

    700

    #72566D

    oklch(49% 0.05 332.6)

  9. Step 800

    800

    #5D4759

    oklch(42.8% 0.041 332.6)

  10. Step 900

    900

    #4C3B49

    oklch(37.6% 0.033 332.3)

  11. Step 950

    950 (this color)

    #342A32

    oklch(29.9% 0.02 333)

Export this scale for Tailwind in the Tailwind colors tool

#342A32 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)#2A2C320.019
Deuteranopia (no green cones)#2C2D320.017
Tritanopia (no blue cones)#352A2D0.009
Achromatopsia (no color)#2D2D2D0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #342A32

    #342A32

    oklch(29.9% 0.02 333)

  • #263129

    #263129

    oklch(30% 0.021 153.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342A32

    #342A32

    oklch(29.9% 0.02 333)

  • #302B36

    #302B36

    oklch(29.9% 0.021 305.7)

  • #372A2D

    #372A2D

    oklch(30.1% 0.02 2.9)

Open the analogous palette in the generator

Split complementary

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

  • #342A32

    #342A32

    oklch(29.9% 0.02 333)

  • #2C2F24

    #2C2F24

    oklch(29.8% 0.02 120)

  • #22312E

    #22312E

    oklch(29.9% 0.021 181.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342A32

    #342A32

    oklch(29.9% 0.02 333)

  • #312E22

    #312E22

    oklch(30% 0.021 95.7)

  • #223034

    #223034

    oklch(29.8% 0.02 217.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342A32

    #342A32

    oklch(29.9% 0.02 333)

  • #352C23

    #352C23

    oklch(30% 0.02 66.9)

  • #263129

    #263129

    oklch(30% 0.021 153.5)

  • #252F37

    #252F37

    oklch(29.9% 0.02 242.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #342A32 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.