#342C3B

Closest named color: Space Cadet (#2B2D42). oklch(30.8% 0.029 308.9), rgb(52, 44, 59).

Aa

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

About this color

#342C3B 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.019 away. White text reads best on it, at 13.38:1.

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

Values

HEX#342C3B
RGBrgb(52, 44, 59)
HSLhsl(272, 15%, 20%)
OKLCHoklch(30.8% 0.029 308.9)

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 #342C3B 13.38:1 AAA Lc -103.0 Preferred for body text
Black text on #342C3B 1.56:1 Fails Lc 0.0 Not readable
#342C3B text on white 13.38:1 AAA Lc 99.8 Preferred for body text
#342C3B text on black 1.56: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

    #C7BBD2

    oklch(80.9% 0.034 308.9)

  5. Step 400

    400

    #AA98BB

    oklch(70.7% 0.054 308.2)

  6. Step 500

    500

    #967EAA

    oklch(63.1% 0.07 309.2)

  7. Step 600

    600

    #806795

    oklch(55.6% 0.075 308.9)

  8. Step 700

    700

    #6C567F

    oklch(49.1% 0.069 308.5)

  9. Step 800

    800

    #584667

    oklch(42.6% 0.058 309)

  10. Step 900

    900

    #493B54

    oklch(37.7% 0.045 309.7)

  11. Step 950

    950 (this color)

    #342C3B

    oklch(30.8% 0.029 308.9)

Export this scale for Tailwind in the Tailwind colors tool

#342C3B 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)#2A2F3C0.019
Deuteranopia (no green cones)#2B2F3B0.018
Tritanopia (no blue cones)#332E310.022
Achromatopsia (no color)#2F2F2F0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #342C3B

    #342C3B

    oklch(30.8% 0.029 308.9)

  • #2B3323

    #2B3323

    oklch(30.8% 0.03 129.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342C3B

    #342C3B

    oklch(30.8% 0.029 308.9)

  • #2C2E3E

    #2C2E3E

    oklch(30.6% 0.029 279)

  • #3A2A35

    #3A2A35

    oklch(30.8% 0.03 338.2)

Open the analogous palette in the generator

Split complementary

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

  • #342C3B

    #342C3B

    oklch(30.8% 0.029 308.9)

  • #33301F

    #33301F

    oklch(30.7% 0.029 99.4)

  • #23342B

    #23342B

    oklch(30.7% 0.028 161.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342C3B

    #342C3B

    oklch(30.8% 0.029 308.9)

  • #392D20

    #392D20

    oklch(30.7% 0.028 68.7)

  • #1E3533

    #1E3533

    oklch(30.9% 0.029 188.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342C3B

    #342C3B

    oklch(30.8% 0.029 308.9)

  • #3D2B25

    #3D2B25

    oklch(30.8% 0.029 39.2)

  • #2B3323

    #2B3323

    oklch(30.8% 0.03 129.6)

  • #1F333A

    #1F333A

    oklch(30.7% 0.029 222)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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