#393847

Closest named color: Onyx (#343A40). oklch(34.8% 0.026 288), rgb(57, 56, 71).

Aa

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

About this color

#393847 is a dark close to neutral grey. In OKLCH its lightness is 35%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.018 away. White text reads best on it, at 11.47:1.

Hue familyNeutrals
Lightnessdark (35%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.83:1
White text11.47:1

Values

HEX#393847
RGBrgb(57, 56, 71)
HSLhsl(244, 12%, 25%)
OKLCHoklch(34.8% 0.026 288)

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 #393847 11.47:1 AAA Lc -100.1 Preferred for body text
Black text on #393847 1.83:1 Fails Lc 7.4 Not readable
#393847 text on white 11.47:1 AAA Lc 96.4 Preferred for body text
#393847 text on black 1.83:1 Fails Lc 0.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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9ED

    oklch(93.5% 0.005 286.3)

  3. Step 200

    200

    #D8D8E0

    oklch(88.5% 0.011 286.2)

  4. Step 300

    300

    #BFBFCD

    oklch(80.9% 0.02 286)

  5. Step 400

    400

    #9F9EB3

    oklch(70.7% 0.03 287.8)

  6. Step 500

    500

    #8886A1

    oklch(63.1% 0.04 288.6)

  7. Step 600

    600

    #72708C

    oklch(55.7% 0.043 288.2)

  8. Step 700

    700

    #5F5D77

    oklch(49% 0.041 288.3)

  9. Step 800

    800

    #4E4C61

    oklch(42.7% 0.035 289.2)

  10. Step 900

    900 (this color)

    #393847

    oklch(34.8% 0.026 288)

  11. Step 950

    950

    #26252E

    oklch(26.9% 0.017 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#393847 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)#343A480.010
Deuteranopia (no green cones)#3439470.009
Tritanopia (no blue cones)#363A3D0.022
Achromatopsia (no color)#3939390.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #393847

    #393847

    oklch(34.8% 0.026 288)

  • #3B3B2B

    #3B3B2B

    oklch(34.7% 0.026 107.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #393847

    #393847

    oklch(34.8% 0.026 288)

  • #323B48

    #323B48

    oklch(34.9% 0.026 257.5)

  • #403643

    #403643

    oklch(34.9% 0.026 318.3)

Open the analogous palette in the generator

Split complementary

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

  • #393847

    #393847

    oklch(34.8% 0.026 288)

  • #42382B

    #42382B

    oklch(34.7% 0.026 74.1)

  • #333D30

    #333D30

    oklch(34.7% 0.026 138.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #393847

    #393847

    oklch(34.8% 0.026 288)

  • #46362E

    #46362E

    oklch(34.8% 0.027 47.9)

  • #2D3E37

    #2D3E37

    oklch(34.7% 0.025 167.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #393847

    #393847

    oklch(34.8% 0.026 288)

  • #473535

    #473535

    oklch(34.9% 0.026 18.5)

  • #3B3B2B

    #3B3B2B

    oklch(34.7% 0.026 107.7)

  • #2A3E3F

    #2A3E3F

    oklch(34.7% 0.025 200)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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