#342E3E

Closest named color: Space Cadet (#2B2D42). oklch(31.4% 0.029 301.9), rgb(52, 46, 62).

Aa

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

About this color

#342E3E 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.018 away. White text reads best on it, at 13.07:1.

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

Values

HEX#342E3E
RGBrgb(52, 46, 62)
HSLhsl(263, 15%, 21%)
OKLCHoklch(31.4% 0.029 301.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 #342E3E 13.07:1 AAA Lc -102.6 Preferred for body text
Black text on #342E3E 1.60:1 Fails Lc 0.0 Not readable
#342E3E text on white 13.07:1 AAA Lc 99.3 Preferred for body text
#342E3E text on black 1.60: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

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DBD6E4

    oklch(88.4% 0.02 302.2)

  4. Step 300

    300

    #C4BCD4

    oklch(80.9% 0.034 300.8)

  5. Step 400

    400

    #A799BE

    oklch(70.8% 0.055 302.3)

  6. Step 500

    500

    #9180AE

    oklch(63.2% 0.07 301.3)

  7. Step 600

    600

    #7B6899

    oklch(55.5% 0.077 301.7)

  8. Step 700

    700

    #685783

    oklch(49.1% 0.072 301.6)

  9. Step 800

    800

    #55476A

    oklch(42.7% 0.059 302.3)

  10. Step 900

    900

    #463C56

    oklch(37.7% 0.045 301.9)

  11. Step 950

    950 (this color)

    #342E3E

    oklch(31.4% 0.029 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#342E3E 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)#2B313F0.017
Deuteranopia (no green cones)#2C313E0.016
Tritanopia (no blue cones)#3230330.024
Achromatopsia (no color)#3131310.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #342E3E

    #342E3E

    oklch(31.4% 0.029 301.9)

  • #2F3423

    #2F3423

    oklch(31.5% 0.03 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342E3E

    #342E3E

    oklch(31.4% 0.029 301.9)

  • #2C3141

    #2C3141

    oklch(31.5% 0.03 271.1)

  • #3A2C38

    #3A2C38

    oklch(31.4% 0.029 331.1)

Open the analogous palette in the generator

Split complementary

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

  • #342E3E

    #342E3E

    oklch(31.4% 0.029 301.9)

  • #373120

    #373120

    oklch(31.4% 0.029 90.9)

  • #26362A

    #26362A

    oklch(31.5% 0.03 152.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342E3E

    #342E3E

    oklch(31.4% 0.029 301.9)

  • #3C2E22

    #3C2E22

    oklch(31.3% 0.029 62.1)

  • #203632

    #203632

    oklch(31.3% 0.029 181.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342E3E

    #342E3E

    oklch(31.4% 0.029 301.9)

  • #3F2C28

    #3F2C28

    oklch(31.4% 0.029 32.2)

  • #2F3423

    #2F3423

    oklch(31.5% 0.03 121.4)

  • #1F353A

    #1F353A

    oklch(31.3% 0.029 213.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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