#3A4E3F

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.2% 0.035 152.3), rgb(58, 78, 63).

Aa

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

About this color

#3A4E3F is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.035 and its hue 152°. 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 8.96:1.

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

Values

HEX#3A4E3F
RGBrgb(58, 78, 63)
HSLhsl(135, 15%, 27%)
OKLCHoklch(40.2% 0.035 152.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 #3A4E3F 8.96:1 AAA Lc -95.0 Preferred for body text
Black text on #3A4E3F 2.34:1 Fails Lc 13.4 Not readable
#3A4E3F text on white 8.96:1 AAA Lc 90.6 Preferred for body text
#3A4E3F text on black 2.34: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 800.

  1. Step 50

    50

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E7EBE8

    oklch(93.6% 0.006 153.8)

  3. Step 200

    200

    #D4DBD5

    oklch(88.4% 0.011 149.8)

  4. Step 300

    300

    #B7C5BA

    oklch(80.9% 0.022 152.1)

  5. Step 400

    400

    #92A797

    oklch(70.7% 0.033 152.6)

  6. Step 500

    500

    #77917D

    oklch(63.1% 0.042 152)

  7. Step 600

    600

    #5F7B66

    oklch(55.5% 0.046 152.4)

  8. Step 700

    700

    #4F6855

    oklch(49.1% 0.042 152)

  9. Step 800

    800 (this color)

    #3A4E3F

    oklch(40.2% 0.035 152.3)

  10. Step 900

    900

    #37463A

    oklch(37.7% 0.028 150.8)

  11. Step 950

    950

    #202922

    oklch(27% 0.018 151.7)

Export this scale for Tailwind in the Tailwind colors tool

#3A4E3F 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)#4E4B3E0.031
Deuteranopia (no green cones)#4B48400.031
Tritanopia (no blue cones)#374D4A0.020
Achromatopsia (no color)#4949490.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A4E3F

    #3A4E3F

    oklch(40.2% 0.035 152.3)

  • #544151

    #544151

    oklch(40.1% 0.036 331.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A4E3F

    #3A4E3F

    oklch(40.2% 0.035 152.3)

  • #454C36

    #454C36

    oklch(40.4% 0.036 122.4)

  • #324F4A

    #324F4A

    oklch(40.3% 0.036 182.4)

Open the analogous palette in the generator

Split complementary

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

  • #3A4E3F

    #3A4E3F

    oklch(40.2% 0.035 152.3)

  • #4C4458

    #4C4458

    oklch(40.3% 0.035 303.1)

  • #594047

    #594047

    oklch(40.1% 0.036 0.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A4E3F

    #3A4E3F

    oklch(40.2% 0.035 152.3)

  • #41475C

    #41475C

    oklch(40.1% 0.036 272.3)

  • #5A413C

    #5A413C

    oklch(40.1% 0.036 31.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A4E3F

    #3A4E3F

    oklch(40.2% 0.035 152.3)

  • #374B5A

    #374B5A

    oklch(40.2% 0.036 241.1)

  • #544151

    #544151

    oklch(40.1% 0.036 331.7)

  • #564435

    #564435

    oklch(40.1% 0.035 61.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A4E3F 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.