#393742

Closest named color: Onyx (#343A40). oklch(34.3% 0.019 293.7), rgb(57, 55, 66).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (34%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.79:1
White text11.67:1

Values

HEX#393742
RGBrgb(57, 55, 66)
HSLhsl(251, 9%, 24%)
OKLCHoklch(34.3% 0.019 293.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 #393742 11.67:1 AAA Lc -100.5 Preferred for body text
Black text on #393742 1.79:1 Fails Lc 0.0 Not readable
#393742 text on white 11.67:1 AAA Lc 96.9 Preferred for body text
#393742 text on black 1.79: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

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #D9D8DE

    oklch(88.5% 0.008 293.9)

  4. Step 300

    300

    #C1BFC9

    oklch(80.9% 0.014 295.3)

  5. Step 400

    400

    #A19EAE

    oklch(70.7% 0.023 294.4)

  6. Step 500

    500

    #8A869A

    oklch(63% 0.03 294.7)

  7. Step 600

    600

    #747085

    oklch(55.6% 0.032 294.1)

  8. Step 700

    700

    #615E70

    oklch(49.1% 0.029 293)

  9. Step 800

    800

    #4F4D5C

    oklch(42.8% 0.025 291.4)

  10. Step 900

    900 (this color)

    #393742

    oklch(34.3% 0.019 293.7)

  11. Step 950

    950

    #27252C

    oklch(27% 0.013 298.6)

Export this scale for Tailwind in the Tailwind colors tool

#393742 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)#3538430.007
Deuteranopia (no green cones)#3538420.007
Tritanopia (no blue cones)#37393B0.016
Achromatopsia (no color)#3838380.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #393742

    #393742

    oklch(34.3% 0.019 293.7)

  • #383A2F

    #383A2F

    oklch(34.3% 0.019 115.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #393742

    #393742

    oklch(34.3% 0.019 293.7)

  • #343943

    #343943

    oklch(34.4% 0.019 264.3)

  • #3E363F

    #3E363F

    oklch(34.5% 0.019 322.5)

Open the analogous palette in the generator

Split complementary

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

  • #393742

    #393742

    oklch(34.3% 0.019 293.7)

  • #3E382E

    #3E382E

    oklch(34.4% 0.019 80.5)

  • #333B32

    #333B32

    oklch(34.2% 0.019 142.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #393742

    #393742

    oklch(34.3% 0.019 293.7)

  • #413630

    #413630

    oklch(34.3% 0.019 50.3)

  • #2F3C38

    #2F3C38

    oklch(34.3% 0.018 174.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #393742

    #393742

    oklch(34.3% 0.019 293.7)

  • #423534

    #423534

    oklch(34.3% 0.019 23.3)

  • #383A2F

    #383A2F

    oklch(34.3% 0.019 115.8)

  • #2D3C3D

    #2D3C3D

    oklch(34.3% 0.02 201.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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