#2D342D

Closest named color: Onyx (#343A40). oklch(31.6% 0.016 145.2), rgb(45, 52, 45).

Aa

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

About this color

#2D342D is a dark close to neutral grey. In OKLCH its lightness is 32%, its chroma 0.016. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.037 away. White text reads best on it, at 12.79:1.

Hue familyNeutrals
Lightnessdark (32%)
Chromaclose to neutral grey (0.016)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.64:1
White text12.79:1

Values

HEX#2D342D
RGBrgb(45, 52, 45)
HSLhsl(120, 7%, 19%)
OKLCHoklch(31.6% 0.016 145.2)

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 #2D342D 12.79:1 AAA Lc -102.2 Preferred for body text
Black text on #2D342D 1.64:1 Fails Lc 0.0 Not readable
#2D342D text on white 12.79:1 AAA Lc 98.9 Preferred for body text
#2D342D text on black 1.64: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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E8EBE8

    oklch(93.7% 0.005 145.5)

  3. Step 200

    200

    #D5DBD5

    oklch(88.5% 0.01 145.5)

  4. Step 300

    300

    #BAC4B9

    oklch(80.9% 0.019 142.8)

  5. Step 400

    400

    #96A696

    oklch(70.8% 0.029 145.3)

  6. Step 500

    500

    #7C907C

    oklch(63.2% 0.037 145.1)

  7. Step 600

    600

    #657A65

    oklch(55.6% 0.04 145)

  8. Step 700

    700

    #536754

    oklch(49.1% 0.038 146.3)

  9. Step 800

    800

    #445444

    oklch(42.7% 0.033 145)

  10. Step 900

    900

    #3A453A

    oklch(37.7% 0.023 145.1)

  11. Step 950

    950 (this color)

    #2D342D

    oklch(31.6% 0.016 145.2)

Export this scale for Tailwind in the Tailwind colors tool

#2D342D 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)#34332D0.012
Deuteranopia (no green cones)#33322D0.012
Tritanopia (no blue cones)#2C34320.009
Achromatopsia (no color)#3232320.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D342D

    #2D342D

    oklch(31.6% 0.016 145.2)

  • #362F36

    #362F36

    oklch(31.5% 0.016 325.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D342D

    #2D342D

    oklch(31.6% 0.016 145.2)

  • #31332A

    #31332A

    oklch(31.6% 0.016 117.5)

  • #2A3431

    #2A3431

    oklch(31.5% 0.015 175.2)

Open the analogous palette in the generator

Split complementary

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

  • #2D342D

    #2D342D

    oklch(31.6% 0.016 145.2)

  • #323039

    #323039

    oklch(31.5% 0.016 295.6)

  • #392F32

    #392F32

    oklch(31.7% 0.015 358)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D342D

    #2D342D

    oklch(31.6% 0.016 145.2)

  • #2E323A

    #2E323A

    oklch(31.6% 0.015 264.3)

  • #392F2E

    #392F2E

    oklch(31.6% 0.015 24.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D342D

    #2D342D

    oklch(31.6% 0.016 145.2)

  • #2A3339

    #2A3339

    oklch(31.5% 0.016 237.2)

  • #362F36

    #362F36

    oklch(31.5% 0.016 325.9)

  • #38302A

    #38302A

    oklch(31.6% 0.016 59)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D342D 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.