#2C4E42

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.4% 0.045 169.4), rgb(44, 78, 66).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (39%)
Chromamuted (0.045)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.27:1
White text9.22:1

Values

HEX#2C4E42
RGBrgb(44, 78, 66)
HSLhsl(159, 28%, 24%)
OKLCHoklch(39.4% 0.045 169.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 #2C4E42 9.22:1 AAA Lc -95.5 Preferred for body text
Black text on #2C4E42 2.27:1 Fails Lc 12.8 Not readable
#2C4E42 text on white 9.22:1 AAA Lc 91.2 Preferred for body text
#2C4E42 text on black 2.27:1 Fails Lc -11.1 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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E4ECE9

    oklch(93.6% 0.009 171.8)

  3. Step 200

    200

    #CEDDD7

    oklch(88.5% 0.018 170)

  4. Step 300

    300

    #ACC8BD

    oklch(80.9% 0.034 169.8)

  5. Step 400

    400

    #7FAC9B

    oklch(70.7% 0.054 169.5)

  6. Step 500

    500

    #5D9783

    oklch(63% 0.068 170.1)

  7. Step 600

    600

    #41826C

    oklch(55.7% 0.076 169.2)

  8. Step 700

    700

    #336E5A

    oklch(49.2% 0.07 168.8)

  9. Step 800

    800

    #2B594A

    oklch(42.6% 0.057 170.1)

  10. Step 900

    900 (this color)

    #2C4E42

    oklch(39.4% 0.045 169.4)

  11. Step 950

    950

    #182B24

    oklch(27% 0.028 168.9)

Export this scale for Tailwind in the Tailwind colors tool

#2C4E42 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)#4C4A410.045
Deuteranopia (no green cones)#4746430.044
Tritanopia (no blue cones)#224E4A0.016
Achromatopsia (no color)#4747470.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C4E42

    #2C4E42

    oklch(39.4% 0.045 169.4)

  • #593C4A

    #593C4A

    oklch(39.4% 0.046 348.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C4E42

    #2C4E42

    oklch(39.4% 0.045 169.4)

  • #394C35

    #394C35

    oklch(39.3% 0.045 140.2)

  • #264D4F

    #264D4F

    oklch(39.3% 0.044 199.9)

Open the analogous palette in the generator

Split complementary

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

  • #2C4E42

    #2C4E42

    oklch(39.4% 0.045 169.4)

  • #513E55

    #513E55

    oklch(39.3% 0.045 320.4)

  • #5C3C3C

    #5C3C3C

    oklch(39.3% 0.045 19.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C4E42

    #2C4E42

    oklch(39.4% 0.045 169.4)

  • #45425D

    #45425D

    oklch(39.3% 0.045 289.2)

  • #5A3F30

    #5A3F30

    oklch(39.4% 0.045 50)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C4E42

    #2C4E42

    oklch(39.4% 0.045 169.4)

  • #38475E

    #38475E

    oklch(39.5% 0.044 258.8)

  • #593C4A

    #593C4A

    oklch(39.4% 0.046 348.9)

  • #534329

    #534329

    oklch(39.3% 0.045 79)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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