#342B30

Closest named color: Space Cadet (#2B2D42). oklch(30.1% 0.016 343.6), rgb(52, 43, 48).

Aa

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

About this color

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

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

Values

HEX#342B30
RGBrgb(52, 43, 48)
HSLhsl(327, 9%, 19%)
OKLCHoklch(30.1% 0.016 343.6)

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 #342B30 13.68:1 AAA Lc -103.3 Preferred for body text
Black text on #342B30 1.53:1 Fails Lc 0.0 Not readable
#342B30 text on white 13.68:1 AAA Lc 100.2 Preferred for body text
#342B30 text on black 1.53: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

    #EDE8EB

    oklch(93.6% 0.007 340.4)

  3. Step 200

    200

    #DED6DB

    oklch(88.4% 0.011 339.4)

  4. Step 300

    300

    #CABCC4

    oklch(80.9% 0.019 342.1)

  5. Step 400

    400

    #AF9AA5

    oklch(70.8% 0.029 344.9)

  6. Step 500

    500

    #9B818F

    oklch(63.2% 0.037 344.6)

  7. Step 600

    600

    #856A79

    oklch(55.6% 0.041 344)

  8. Step 700

    700

    #715866

    oklch(49.1% 0.039 343.9)

  9. Step 800

    800

    #5C4853

    oklch(42.6% 0.032 344.4)

  10. Step 900

    900

    #4B3C45

    oklch(37.5% 0.025 341.7)

  11. Step 950

    950 (this color)

    #342B30

    oklch(30.1% 0.016 343.6)

Export this scale for Tailwind in the Tailwind colors tool

#342B30 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)#2B2D300.017
Deuteranopia (no green cones)#2D2E300.015
Tritanopia (no blue cones)#352B2D0.006
Achromatopsia (no color)#2D2D2D0.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #342B30

    #342B30

    oklch(30.1% 0.016 343.6)

  • #27312C

    #27312C

    oklch(30.2% 0.016 163.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342B30

    #342B30

    oklch(30.1% 0.016 343.6)

  • #312C34

    #312C34

    oklch(30.2% 0.016 313)

  • #362B2C

    #362B2C

    oklch(30.2% 0.016 11.9)

Open the analogous palette in the generator

Split complementary

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

  • #342B30

    #342B30

    oklch(30.1% 0.016 343.6)

  • #2B3028

    #2B3028

    oklch(30.1% 0.016 133.6)

  • #253130

    #253130

    oklch(30.2% 0.016 190)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342B30

    #342B30

    oklch(30.1% 0.016 343.6)

  • #2F2F25

    #2F2F25

    oklch(30.2% 0.017 107.4)

  • #263034

    #263034

    oklch(30.1% 0.015 224.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342B30

    #342B30

    oklch(30.1% 0.016 343.6)

  • #332D25

    #332D25

    oklch(30.1% 0.016 75)

  • #27312C

    #27312C

    oklch(30.2% 0.016 163.6)

  • #292F36

    #292F36

    oklch(30.2% 0.015 252.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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