#2D3D40

Closest named color: Onyx (#343A40). oklch(34.7% 0.021 210.3), rgb(45, 61, 64).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (35%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.85:1
White text11.33:1

Values

HEX#2D3D40
RGBrgb(45, 61, 64)
HSLhsl(189, 17%, 21%)
OKLCHoklch(34.7% 0.021 210.3)

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 #2D3D40 11.33:1 AAA Lc -99.9 Preferred for body text
Black text on #2D3D40 1.85:1 Fails Lc 7.7 Not readable
#2D3D40 text on white 11.33:1 AAA Lc 96.1 Preferred for body text
#2D3D40 text on black 1.85: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 900.

  1. Step 50

    50

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E6EBEB

    oklch(93.6% 0.005 197.1)

  3. Step 200

    200

    #D3DBDC

    oklch(88.6% 0.009 205.9)

  4. Step 300

    300

    #B5C4C6

    oklch(80.9% 0.017 206.4)

  5. Step 400

    400

    #8FA5A9

    oklch(70.6% 0.025 209.8)

  6. Step 500

    500

    #738F95

    oklch(63.1% 0.033 212.2)

  7. Step 600

    600

    #5B797F

    oklch(55.5% 0.036 211.2)

  8. Step 700

    700

    #4B666B

    oklch(49.1% 0.033 210.2)

  9. Step 800

    800

    #3E5357

    oklch(42.6% 0.027 210.5)

  10. Step 900

    900 (this color)

    #2D3D40

    oklch(34.7% 0.021 210.3)

  11. Step 950

    950

    #1F282A

    oklch(26.9% 0.013 212.7)

Export this scale for Tailwind in the Tailwind colors tool

#2D3D40 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)#3A3C400.020
Deuteranopia (no green cones)#3739400.019
Tritanopia (no blue cones)#273F3E0.012
Achromatopsia (no color)#3A3A3A0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D3D40

    #2D3D40

    oklch(34.7% 0.021 210.3)

  • #443633

    #443633

    oklch(34.7% 0.021 32.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D3D40

    #2D3D40

    oklch(34.7% 0.021 210.3)

  • #2E3E3A

    #2E3E3A

    oklch(34.8% 0.022 177.9)

  • #303B44

    #303B44

    oklch(34.6% 0.022 243.1)

Open the analogous palette in the generator

Split complementary

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

  • #2D3D40

    #2D3D40

    oklch(34.7% 0.021 210.3)

  • #443539

    #443539

    oklch(34.7% 0.022 0.6)

  • #42372F

    #42372F

    oklch(34.6% 0.021 58)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D3D40

    #2D3D40

    oklch(34.7% 0.021 210.3)

  • #40363F

    #40363F

    oklch(34.7% 0.021 329.2)

  • #3E3A2D

    #3E3A2D

    oklch(34.8% 0.022 93)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D3D40

    #2D3D40

    oklch(34.7% 0.021 210.3)

  • #3B3743

    #3B3743

    oklch(34.6% 0.021 300.5)

  • #443633

    #443633

    oklch(34.7% 0.021 32.2)

  • #383C2F

    #383C2F

    oklch(34.8% 0.023 121.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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