#342A35

Closest named color: Space Cadet (#2B2D42). oklch(30.1% 0.024 323.2), rgb(52, 42, 53).

Aa

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

About this color

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

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

Values

HEX#342A35
RGBrgb(52, 42, 53)
HSLhsl(295, 12%, 19%)
OKLCHoklch(30.1% 0.024 323.2)

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 #342A35 13.73:1 AAA Lc -103.4 Preferred for body text
Black text on #342A35 1.52:1 Fails Lc 0.0 Not readable
#342A35 text on white 13.73:1 AAA Lc 100.3 Preferred for body text
#342A35 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

    #F7F5F7

    oklch(97.2% 0.003 325.6)

  2. Step 100

    100

    #EDE8ED

    oklch(93.6% 0.009 325.6)

  3. Step 200

    200

    #DED6DF

    oklch(88.5% 0.015 322.3)

  4. Step 300

    300

    #CABBCB

    oklch(80.9% 0.028 323.9)

  5. Step 400

    400

    #AF97B1

    oklch(70.6% 0.046 323.6)

  6. Step 500

    500

    #9B7E9E

    oklch(63.1% 0.058 323.2)

  7. Step 600

    600

    #866789

    oklch(55.7% 0.063 323.5)

  8. Step 700

    700

    #715574

    oklch(49% 0.059 323.2)

  9. Step 800

    800

    #5C465E

    oklch(42.7% 0.048 323.6)

  10. Step 900

    900

    #4C3B4D

    oklch(37.8% 0.038 324.5)

  11. Step 950

    950 (this color)

    #342A35

    oklch(30.1% 0.024 323.2)

Export this scale for Tailwind in the Tailwind colors tool

#342A35 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)#292C350.020
Deuteranopia (no green cones)#2B2E350.020
Tritanopia (no blue cones)#352B2E0.014
Achromatopsia (no color)#2D2D2D0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #342A35

    #342A35

    oklch(30.1% 0.024 323.2)

  • #273126

    #273126

    oklch(30% 0.024 142.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342A35

    #342A35

    oklch(30.1% 0.024 323.2)

  • #2E2C39

    #2E2C39

    oklch(30.1% 0.023 292)

  • #38292F

    #38292F

    oklch(30.1% 0.024 352.8)

Open the analogous palette in the generator

Split complementary

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

  • #342A35

    #342A35

    oklch(30.1% 0.024 323.2)

  • #2E2F21

    #2E2F21

    oklch(30% 0.024 111.2)

  • #21322D

    #21322D

    oklch(30% 0.024 174.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342A35

    #342A35

    oklch(30.1% 0.024 323.2)

  • #342D20

    #342D20

    oklch(30.1% 0.024 82.8)

  • #1F3233

    #1F3233

    oklch(30.1% 0.025 200.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342A35

    #342A35

    oklch(30.1% 0.024 323.2)

  • #382B23

    #382B23

    oklch(30.1% 0.024 53.2)

  • #273126

    #273126

    oklch(30% 0.024 142.5)

  • #223038

    #223038

    oklch(30% 0.024 233.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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