#394942

Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.9% 0.024 166.7), rgb(57, 73, 66).

Aa

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

About this color

#394942 is a dark close to neutral grey. In OKLCH its lightness is 39%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.025 away. White text reads best on it, at 9.52:1.

Hue familyNeutrals
Lightnessdark (39%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.20:1
White text9.52:1

Values

HEX#394942
RGBrgb(57, 73, 66)
HSLhsl(154, 12%, 25%)
OKLCHoklch(38.9% 0.024 166.7)

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 #394942 9.52:1 AAA Lc -96.3 Preferred for body text
Black text on #394942 2.20:1 Fails Lc 11.9 Not readable
#394942 text on white 9.52:1 AAA Lc 92.0 Preferred for body text
#394942 text on black 2.20:1 Fails Lc -10.4 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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E7EBE9

    oklch(93.6% 0.005 165)

  3. Step 200

    200

    #D3DBD8

    oklch(88.4% 0.01 171.8)

  4. Step 300

    300

    #B6C4BE

    oklch(80.8% 0.017 168.4)

  5. Step 400

    400

    #91A79D

    oklch(70.8% 0.028 166.4)

  6. Step 500

    500

    #759185

    oklch(63.1% 0.036 167.3)

  7. Step 600

    600

    #5E7B6E

    oklch(55.6% 0.039 165.8)

  8. Step 700

    700

    #4D685C

    oklch(49.2% 0.037 165.8)

  9. Step 800

    800

    #3F544B

    oklch(42.5% 0.03 166.8)

  10. Step 900

    900 (this color)

    #394942

    oklch(38.9% 0.024 166.7)

  11. Step 950

    950

    #202925

    oklch(27.1% 0.015 166.5)

Export this scale for Tailwind in the Tailwind colors tool

#394942 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)#4847420.023
Deuteranopia (no green cones)#4545420.022
Tritanopia (no blue cones)#3649470.009
Achromatopsia (no color)#4545450.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #394942

    #394942

    oklch(38.9% 0.024 166.7)

  • #4F4047

    #4F4047

    oklch(39% 0.023 348.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #394942

    #394942

    oklch(38.9% 0.024 166.7)

  • #3F483B

    #3F483B

    oklch(38.9% 0.024 136)

  • #364949

    #364949

    oklch(38.9% 0.024 196.2)

Open the analogous palette in the generator

Split complementary

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

  • #394942

    #394942

    oklch(38.9% 0.024 166.7)

  • #4A414D

    #4A414D

    oklch(38.9% 0.023 317.7)

  • #514040

    #514040

    oklch(39% 0.024 18.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #394942

    #394942

    oklch(38.9% 0.024 166.7)

  • #444351

    #444351

    oklch(38.9% 0.024 288.5)

  • #50413A

    #50413A

    oklch(38.9% 0.024 46.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #394942

    #394942

    oklch(38.9% 0.024 166.7)

  • #3D4552

    #3D4552

    oklch(38.8% 0.025 260.1)

  • #4F4047

    #4F4047

    oklch(39% 0.023 348.5)

  • #4C4337

    #4C4337

    oklch(38.8% 0.023 74.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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