#342D3B

Closest named color: Space Cadet (#2B2D42). oklch(31.1% 0.026 307.5), rgb(52, 45, 59).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (31%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameSpace Cadet (#2B2D42)
Black text1.58:1
White text13.25:1

Values

HEX#342D3B
RGBrgb(52, 45, 59)
HSLhsl(270, 13%, 20%)
OKLCHoklch(31.1% 0.026 307.5)

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 #342D3B 13.25:1 AAA Lc -102.8 Preferred for body text
Black text on #342D3B 1.58:1 Fails Lc 0.0 Not readable
#342D3B text on white 13.25:1 AAA Lc 99.6 Preferred for body text
#342D3B text on black 1.58: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8EF

    oklch(93.5% 0.01 305.4)

  3. Step 200

    200

    #DCD6E2

    oklch(88.4% 0.017 308.2)

  4. Step 300

    300

    #C6BCD1

    oklch(81% 0.031 307)

  5. Step 400

    400

    #A999B9

    oklch(70.7% 0.049 307.7)

  6. Step 500

    500

    #947FA8

    oklch(63% 0.065 307.8)

  7. Step 600

    600

    #7E6893

    oklch(55.5% 0.07 307.6)

  8. Step 700

    700

    #6B577D

    oklch(49.2% 0.064 308.2)

  9. Step 800

    800

    #574766

    oklch(42.7% 0.054 307.8)

  10. Step 900

    900

    #483C53

    oklch(37.8% 0.041 308.2)

  11. Step 950

    950 (this color)

    #342D3B

    oklch(31.1% 0.026 307.5)

Export this scale for Tailwind in the Tailwind colors tool

#342D3B 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)#2B2F3C0.016
Deuteranopia (no green cones)#2C303B0.016
Tritanopia (no blue cones)#332F320.020
Achromatopsia (no color)#3030300.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #342D3B

    #342D3B

    oklch(31.1% 0.026 307.5)

  • #2D3325

    #2D3325

    oklch(31.1% 0.026 126.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342D3B

    #342D3B

    oklch(31.1% 0.026 307.5)

  • #2D2F3E

    #2D2F3E

    oklch(31% 0.027 278.8)

  • #392B35

    #392B35

    oklch(30.9% 0.027 336.8)

Open the analogous palette in the generator

Split complementary

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

  • #342D3B

    #342D3B

    oklch(31.1% 0.026 307.5)

  • #343121

    #343121

    oklch(31.1% 0.027 98.8)

  • #25352B

    #25352B

    oklch(31.1% 0.028 157)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342D3B

    #342D3B

    oklch(31.1% 0.026 307.5)

  • #3A2E22

    #3A2E22

    oklch(31.1% 0.027 66.6)

  • #213533

    #213533

    oklch(31.1% 0.026 188)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342D3B

    #342D3B

    oklch(31.1% 0.026 307.5)

  • #3D2C27

    #3D2C27

    oklch(31.1% 0.027 37)

  • #2D3325

    #2D3325

    oklch(31.1% 0.026 126.7)

  • #213439

    #213439

    oklch(31.1% 0.026 216)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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