#2B4E42

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.3% 0.046 169.9), rgb(43, 78, 66).

Aa

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

About this color

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

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

Values

HEX#2B4E42
RGBrgb(43, 78, 66)
HSLhsl(159, 29%, 24%)
OKLCHoklch(39.3% 0.046 169.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 #2B4E42 9.24:1 AAA Lc -95.6 Preferred for body text
Black text on #2B4E42 2.27:1 Fails Lc 12.7 Not readable
#2B4E42 text on white 9.24:1 AAA Lc 91.2 Preferred for body text
#2B4E42 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

    #CDDDD7

    oklch(88.4% 0.019 171.4)

  4. Step 300

    300

    #ACC8BD

    oklch(80.9% 0.034 169.8)

  5. Step 400

    400

    #7EAC9B

    oklch(70.6% 0.055 169.9)

  6. Step 500

    500

    #5C9883

    oklch(63.2% 0.071 169.7)

  7. Step 600

    600

    #3F826C

    oklch(55.6% 0.077 169.6)

  8. Step 700

    700

    #316E5A

    oklch(49.2% 0.072 169.3)

  9. Step 800

    800

    #2A594A

    oklch(42.6% 0.058 170.4)

  10. Step 900

    900 (this color)

    #2B4E42

    oklch(39.3% 0.046 169.9)

  11. Step 950

    950

    #172B24

    oklch(26.9% 0.029 169.8)

Export this scale for Tailwind in the Tailwind colors tool

#2B4E42 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.046
Deuteranopia (no green cones)#4646430.044
Tritanopia (no blue cones)#204E4A0.016
Achromatopsia (no color)#4747470.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B4E42

    #2B4E42

    oklch(39.3% 0.046 169.9)

  • #593C49

    #593C49

    oklch(39.4% 0.045 350.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B4E42

    #2B4E42

    oklch(39.3% 0.046 169.9)

  • #394C34

    #394C34

    oklch(39.3% 0.046 139.2)

  • #254D50

    #254D50

    oklch(39.2% 0.045 201.9)

Open the analogous palette in the generator

Split complementary

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

  • #2B4E42

    #2B4E42

    oklch(39.3% 0.046 169.9)

  • #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.

  • #2B4E42

    #2B4E42

    oklch(39.3% 0.046 169.9)

  • #45425D

    #45425D

    oklch(39.3% 0.045 289.2)

  • #5A3F2F

    #5A3F2F

    oklch(39.4% 0.046 51.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B4E42

    #2B4E42

    oklch(39.3% 0.046 169.9)

  • #37465F

    #37465F

    oklch(39.2% 0.047 260.4)

  • #593C49

    #593C49

    oklch(39.4% 0.045 350.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 #2B4E42, closest first.

Similar named colors

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

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