#342A33

Closest named color: Space Cadet (#2B2D42). oklch(30% 0.021 329.4), rgb(52, 42, 51).

Aa

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

About this color

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

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

Values

HEX#342A33
RGBrgb(52, 42, 51)
HSLhsl(306, 11%, 18%)
OKLCHoklch(30% 0.021 329.4)

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

    #DFD6DE

    oklch(88.6% 0.015 329.1)

  4. Step 300

    300

    #CABBC9

    oklch(80.9% 0.026 327.9)

  5. Step 400

    400

    #AF98AD

    oklch(70.7% 0.04 328.8)

  6. Step 500

    500

    #9C7F99

    oklch(63.2% 0.051 329.6)

  7. Step 600

    600

    #866883

    oklch(55.6% 0.055 329.6)

  8. Step 700

    700

    #72566F

    oklch(49.1% 0.052 330)

  9. Step 800

    800

    #5D475B

    oklch(42.9% 0.043 329.3)

  10. Step 900

    900

    #4C3B4A

    oklch(37.6% 0.034 330.2)

  11. Step 950

    950 (this color)

    #342A33

    oklch(30% 0.021 329.4)

Export this scale for Tailwind in the Tailwind colors tool

#342A33 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)#2A2C330.019
Deuteranopia (no green cones)#2C2D330.017
Tritanopia (no blue cones)#352B2D0.013
Achromatopsia (no color)#2D2D2D0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #342A33

    #342A33

    oklch(30% 0.021 329.4)

  • #263128

    #263128

    oklch(30% 0.022 150.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342A33

    #342A33

    oklch(30% 0.021 329.4)

  • #2F2B37

    #2F2B37

    oklch(29.8% 0.022 300.3)

  • #37292D

    #37292D

    oklch(29.9% 0.022 359.6)

Open the analogous palette in the generator

Split complementary

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

  • #342A33

    #342A33

    oklch(30% 0.021 329.4)

  • #2C2F23

    #2C2F23

    oklch(29.8% 0.021 119.1)

  • #22312E

    #22312E

    oklch(29.9% 0.021 181.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342A33

    #342A33

    oklch(30% 0.021 329.4)

  • #322D22

    #322D22

    oklch(29.9% 0.02 86.4)

  • #213134

    #213134

    oklch(30% 0.022 210.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342A33

    #342A33

    oklch(30% 0.021 329.4)

  • #362B23

    #362B23

    oklch(29.9% 0.021 57.8)

  • #263128

    #263128

    oklch(30% 0.022 150.3)

  • #242F37

    #242F37

    oklch(29.8% 0.021 240)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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