#393947

Closest named color: Onyx (#343A40). oklch(35% 0.024 285.1), rgb(57, 57, 71).

Aa

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

About this color

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

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

Values

HEX#393947
RGBrgb(57, 57, 71)
HSLhsl(240, 11%, 25%)
OKLCHoklch(35% 0.024 285.1)

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 #393947 11.35:1 AAA Lc -99.9 Preferred for body text
Black text on #393947 1.85:1 Fails Lc 7.7 Not readable
#393947 text on white 11.35:1 AAA Lc 96.2 Preferred for body text
#393947 text on black 1.85: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

    #BFBFCC

    oklch(80.9% 0.018 286)

  5. Step 400

    400

    #9E9EB3

    oklch(70.6% 0.03 285.6)

  6. Step 500

    500

    #8787A0

    oklch(63.2% 0.037 285.3)

  7. Step 600

    600

    #70708B

    oklch(55.5% 0.042 285)

  8. Step 700

    700

    #5E5E76

    oklch(49.1% 0.038 284.9)

  9. Step 800

    800

    #4D4D60

    oklch(42.8% 0.031 285)

  10. Step 900

    900 (this color)

    #393947

    oklch(35% 0.024 285.1)

  11. Step 950

    950

    #25252E

    oklch(26.8% 0.017 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#393947 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)#363B480.007
Deuteranopia (no green cones)#353A470.007
Tritanopia (no blue cones)#363B3E0.020
Achromatopsia (no color)#3A3A3A0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #393947

    #393947

    oklch(35% 0.024 285.1)

  • #3C3B2D

    #3C3B2D

    oklch(34.9% 0.023 104.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #393947

    #393947

    oklch(35% 0.024 285.1)

  • #323B47

    #323B47

    oklch(34.9% 0.024 255.7)

  • #3F3743

    #3F3743

    oklch(35% 0.023 314.5)

Open the analogous palette in the generator

Split complementary

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

  • #393947

    #393947

    oklch(35% 0.024 285.1)

  • #42392D

    #42392D

    oklch(35% 0.024 74.8)

  • #353E31

    #353E31

    oklch(35.1% 0.025 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #393947

    #393947

    oklch(35% 0.024 285.1)

  • #463730

    #463730

    oklch(35.1% 0.025 46.4)

  • #2F3F37

    #2F3F37

    oklch(35.1% 0.025 163.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #393947

    #393947

    oklch(35% 0.024 285.1)

  • #463636

    #463636

    oklch(35.1% 0.023 18.3)

  • #3C3B2D

    #3C3B2D

    oklch(34.9% 0.023 104.1)

  • #2C3F3E

    #2C3F3E

    oklch(35.1% 0.024 192)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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