#342B3A

Closest named color: Space Cadet (#2B2D42). oklch(30.5% 0.029 311.6), rgb(52, 43, 58).

Aa

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

About this color

#342B3A is a dark close to neutral grey. In OKLCH its lightness is 31%, its chroma 0.029. 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.52:1.

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

Values

HEX#342B3A
RGBrgb(52, 43, 58)
HSLhsl(276, 15%, 20%)
OKLCHoklch(30.5% 0.029 311.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 #342B3A 13.52:1 AAA Lc -103.1 Preferred for body text
Black text on #342B3A 1.55:1 Fails Lc 0.0 Not readable
#342B3A text on white 13.52:1 AAA Lc 100.0 Preferred for body text
#342B3A text on black 1.55: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

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DDD6E3

    oklch(88.5% 0.019 309.8)

  4. Step 300

    300

    #C8BBD1

    oklch(81% 0.034 311.7)

  5. Step 400

    400

    #AC97BA

    oklch(70.7% 0.055 311.8)

  6. Step 500

    500

    #987DA9

    oklch(63.1% 0.072 312.1)

  7. Step 600

    600

    #826694

    oklch(55.5% 0.077 311.7)

  8. Step 700

    700

    #6E557E

    oklch(49.1% 0.07 311.7)

  9. Step 800

    800

    #5A4667

    oklch(42.8% 0.059 311.6)

  10. Step 900

    900

    #4A3B54

    oklch(37.9% 0.046 311.5)

  11. Step 950

    950 (this color)

    #342B3A

    oklch(30.5% 0.029 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#342B3A 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)#292E3B0.021
Deuteranopia (no green cones)#2B2E3A0.018
Tritanopia (no blue cones)#332D300.022
Achromatopsia (no color)#2E2E2E0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #342B3A

    #342B3A

    oklch(30.5% 0.029 311.6)

  • #2A3223

    #2A3223

    oklch(30.5% 0.028 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342B3A

    #342B3A

    oklch(30.5% 0.029 311.6)

  • #2C2D3E

    #2C2D3E

    oklch(30.4% 0.031 281.8)

  • #3A2933

    #3A2933

    oklch(30.5% 0.03 342.9)

Open the analogous palette in the generator

Split complementary

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

  • #342B3A

    #342B3A

    oklch(30.5% 0.029 311.6)

  • #32301E

    #32301E

    oklch(30.6% 0.03 102.6)

  • #22342A

    #22342A

    oklch(30.6% 0.03 159.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342B3A

    #342B3A

    oklch(30.5% 0.029 311.6)

  • #382D1F

    #382D1F

    oklch(30.5% 0.029 73.1)

  • #1D3433

    #1D3433

    oklch(30.6% 0.029 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342B3A

    #342B3A

    oklch(30.5% 0.029 311.6)

  • #3C2A24

    #3C2A24

    oklch(30.4% 0.029 39.2)

  • #2A3223

    #2A3223

    oklch(30.5% 0.028 130.8)

  • #1E333A

    #1E333A

    oklch(30.7% 0.03 221)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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