#2D5040

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.9% 0.049 163.4), rgb(45, 80, 64).

Aa

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

About this color

#2D5040 is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.049 and its hue 163°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.027 away. White text reads best on it, at 9.00:1.

Hue familyGreens
Lightnessdark (40%)
Chromamuted (0.049)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.33:1
White text9.00:1

Values

HEX#2D5040
RGBrgb(45, 80, 64)
HSLhsl(153, 28%, 25%)
OKLCHoklch(39.9% 0.049 163.4)

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 #2D5040 9.00:1 AAA Lc -95.0 Preferred for body text
Black text on #2D5040 2.33:1 Fails Lc 13.4 Not readable
#2D5040 text on white 9.00:1 AAA Lc 90.6 Preferred for body text
#2D5040 text on black 2.33:1 Fails Lc -11.7 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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E4ECE8

    oklch(93.6% 0.01 164.9)

  3. Step 200

    200

    #CEDED5

    oklch(88.6% 0.021 161.4)

  4. Step 300

    300

    #ACC9BA

    oklch(81% 0.038 163)

  5. Step 400

    400

    #7FAD96

    oklch(70.8% 0.06 162.7)

  6. Step 500

    500

    #5C987D

    oklch(63.1% 0.075 163.9)

  7. Step 600

    600

    #408266

    oklch(55.5% 0.081 163.9)

  8. Step 700

    700

    #326E54

    oklch(49% 0.076 163)

  9. Step 800

    800

    #2A5A45

    oklch(42.7% 0.064 163.2)

  10. Step 900

    900 (this color)

    #2D5040

    oklch(39.9% 0.049 163.4)

  11. Step 950

    950

    #172B22

    oklch(26.9% 0.031 164)

Export this scale for Tailwind in the Tailwind colors tool

#2D5040 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)#4F4B3F0.049
Deuteranopia (no green cones)#4947410.047
Tritanopia (no blue cones)#24504B0.019
Achromatopsia (no color)#4949490.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D5040

    #2D5040

    oklch(39.9% 0.049 163.4)

  • #5B3D4E

    #5B3D4E

    oklch(40% 0.049 344.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D5040

    #2D5040

    oklch(39.9% 0.049 163.4)

  • #3D4D32

    #3D4D32

    oklch(39.8% 0.048 133.1)

  • #23504F

    #23504F

    oklch(39.9% 0.049 193.4)

Open the analogous palette in the generator

Split complementary

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

  • #2D5040

    #2D5040

    oklch(39.9% 0.049 163.4)

  • #51405B

    #51405B

    oklch(40% 0.049 312.7)

  • #5F3C40

    #5F3C40

    oklch(39.8% 0.05 12.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D5040

    #2D5040

    oklch(39.9% 0.049 163.4)

  • #444462

    #444462

    oklch(40% 0.05 283.9)

  • #5E3F32

    #5E3F32

    oklch(39.9% 0.049 43.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D5040

    #2D5040

    oklch(39.9% 0.049 163.4)

  • #344962

    #344962

    oklch(39.9% 0.05 253.3)

  • #5B3D4E

    #5B3D4E

    oklch(40% 0.049 344.6)

  • #584329

    #584329

    oklch(39.9% 0.049 71.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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