#395042

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.8% 0.037 157.6), rgb(57, 80, 66).

Aa

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

About this color

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

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

Values

HEX#395042
RGBrgb(57, 80, 66)
HSLhsl(143, 17%, 27%)
OKLCHoklch(40.8% 0.037 157.6)

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 #395042 8.74:1 AAA Lc -94.4 Preferred for body text
Black text on #395042 2.40:1 Fails Lc 14.0 Not readable
#395042 text on white 8.74:1 AAA Lc 90.0 Fine for body text
#395042 text on black 2.40:1 Fails Lc -12.3 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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E7EBE8

    oklch(93.6% 0.006 153.8)

  3. Step 200

    200

    #D3DCD6

    oklch(88.6% 0.013 157)

  4. Step 300

    300

    #B6C5BB

    oklch(80.9% 0.021 156.7)

  5. Step 400

    400

    #90A798

    oklch(70.6% 0.034 156.9)

  6. Step 500

    500

    #74927F

    oklch(63.1% 0.044 157.1)

  7. Step 600

    600

    #5C7C68

    oklch(55.6% 0.048 157)

  8. Step 700

    700

    #4C6957

    oklch(49.2% 0.045 157.1)

  9. Step 800

    800 (this color)

    #395042

    oklch(40.8% 0.037 157.6)

  10. Step 900

    900

    #35463C

    oklch(37.6% 0.028 158.9)

  11. Step 950

    950

    #1F2923

    oklch(26.9% 0.018 158.6)

Export this scale for Tailwind in the Tailwind colors tool

#395042 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)#504C410.035
Deuteranopia (no green cones)#4C4A430.033
Tritanopia (no blue cones)#35504C0.017
Achromatopsia (no color)#4B4B4B0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #395042

    #395042

    oklch(40.8% 0.037 157.6)

  • #574251

    #574251

    oklch(40.7% 0.037 336.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #395042

    #395042

    oklch(40.8% 0.037 157.6)

  • #444E38

    #444E38

    oklch(40.8% 0.038 127.8)

  • #32504D

    #32504D

    oklch(40.7% 0.036 187.9)

Open the analogous palette in the generator

Split complementary

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

  • #395042

    #395042

    oklch(40.8% 0.037 157.6)

  • #4F4559

    #4F4559

    oklch(40.8% 0.035 307.5)

  • #5C4246

    #5C4246

    oklch(40.9% 0.037 8.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #395042

    #395042

    oklch(40.8% 0.037 157.6)

  • #45485E

    #45485E

    oklch(40.8% 0.037 278.6)

  • #5C433B

    #5C433B

    oklch(40.8% 0.037 38.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #395042

    #395042

    oklch(40.8% 0.037 157.6)

  • #3A4C5D

    #3A4C5D

    oklch(40.8% 0.037 247.3)

  • #574251

    #574251

    oklch(40.7% 0.037 336.9)

  • #574634

    #574634

    oklch(40.7% 0.037 68.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #395042 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.