#2B5142

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.2% 0.051 166.5), rgb(43, 81, 66).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (40%)
Chromamuted (0.051)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.35:1
White text8.90:1

Values

HEX#2B5142
RGBrgb(43, 81, 66)
HSLhsl(156, 31%, 24%)
OKLCHoklch(40.2% 0.051 166.5)

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 #2B5142 8.90:1 AAA Lc -94.7 Preferred for body text
Black text on #2B5142 2.35:1 Fails Lc 13.7 Not readable
#2B5142 text on white 8.90:1 AAA Lc 90.3 Preferred for body text
#2B5142 text on black 2.35:1 Fails Lc -12.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

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E3ECE8

    oklch(93.5% 0.011 167.8)

  3. Step 200

    200

    #CDDED6

    oklch(88.6% 0.021 166)

  4. Step 300

    300

    #AAC9BB

    oklch(80.9% 0.039 166.3)

  5. Step 400

    400

    #7CAD98

    oklch(70.7% 0.061 166.3)

  6. Step 500

    500

    #58997F

    oklch(63.2% 0.078 166.3)

  7. Step 600

    600

    #3A8368

    oklch(55.5% 0.085 166.4)

  8. Step 700

    700

    #2C6F57

    oklch(49.1% 0.079 166.7)

  9. Step 800

    800

    #265A47

    oklch(42.6% 0.065 166.8)

  10. Step 900

    900 (this color)

    #2B5142

    oklch(40.2% 0.051 166.5)

  11. Step 950

    950

    #162C23

    oklch(27.1% 0.033 165.9)

Export this scale for Tailwind in the Tailwind colors tool

#2B5142 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)#4F4C410.051
Deuteranopia (no green cones)#4948430.049
Tritanopia (no blue cones)#20514D0.020
Achromatopsia (no color)#4A4A4A0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B5142

    #2B5142

    oklch(40.2% 0.051 166.5)

  • #5C3D4E

    #5C3D4E

    oklch(40.1% 0.05 345.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B5142

    #2B5142

    oklch(40.2% 0.051 166.5)

  • #3B4F33

    #3B4F33

    oklch(40.2% 0.052 137)

  • #225151

    #225151

    oklch(40.3% 0.051 195.3)

Open the analogous palette in the generator

Split complementary

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

  • #2B5142

    #2B5142

    oklch(40.2% 0.051 166.5)

  • #53405B

    #53405B

    oklch(40.3% 0.05 315.7)

  • #613D3E

    #613D3E

    oklch(40.2% 0.051 17.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B5142

    #2B5142

    oklch(40.2% 0.051 166.5)

  • #464463

    #464463

    oklch(40.2% 0.052 286.8)

  • #5F3F30

    #5F3F30

    oklch(40% 0.051 45.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B5142

    #2B5142

    oklch(40.2% 0.051 166.5)

  • #364964

    #364964

    oklch(40.1% 0.052 257.2)

  • #5C3D4E

    #5C3D4E

    oklch(40.1% 0.05 345.6)

  • #584428

    #584428

    oklch(40.1% 0.05 74.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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