#323940

Closest named color: Onyx (#343A40). oklch(34.1% 0.016 248.3), rgb(50, 57, 64).

Aa

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

About this color

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

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

Values

HEX#323940
RGBrgb(50, 57, 64)
HSLhsl(210, 12%, 22%)
OKLCHoklch(34.1% 0.016 248.3)

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 #323940 11.69:1 AAA Lc -100.5 Preferred for body text
Black text on #323940 1.79:1 Fails Lc 0.0 Not readable
#323940 text on white 11.69:1 AAA Lc 96.9 Preferred for body text
#323940 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

    #F5F5F6

    oklch(97% 0.001 286.4)

  2. Step 100

    100

    #E8EAEC

    oklch(93.6% 0.003 247.9)

  3. Step 200

    200

    #D6D9DD

    oklch(88.4% 0.006 255.5)

  4. Step 300

    300

    #BBC1C8

    oklch(80.8% 0.012 252.1)

  5. Step 400

    400

    #98A2AC

    oklch(70.7% 0.019 248.1)

  6. Step 500

    500

    #7F8B98

    oklch(63.1% 0.024 250.3)

  7. Step 600

    600

    #687582

    oklch(55.6% 0.026 248.3)

  8. Step 700

    700

    #56626E

    oklch(49% 0.024 248.3)

  9. Step 800

    800

    #47505A

    oklch(42.7% 0.02 251.1)

  10. Step 900

    900 (this color)

    #323940

    oklch(34.1% 0.016 248.3)

  11. Step 950

    950

    #23272B

    oklch(27% 0.009 248.2)

Export this scale for Tailwind in the Tailwind colors tool

#323940 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)#3639400.006
Deuteranopia (no green cones)#3538400.006
Tritanopia (no blue cones)#2E3B3B0.014
Achromatopsia (no color)#3838380.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #323940

    #323940

    oklch(34.1% 0.016 248.3)

  • #3E3730

    #3E3730

    oklch(34.2% 0.015 67.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #323940

    #323940

    oklch(34.1% 0.016 248.3)

  • #2F3A3E

    #2F3A3E

    oklch(34% 0.016 221.9)

  • #363740

    #363740

    oklch(33.9% 0.016 280.5)

Open the analogous palette in the generator

Split complementary

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

  • #323940

    #323940

    oklch(34.1% 0.016 248.3)

  • #403632

    #403632

    oklch(34.2% 0.016 43)

  • #3A382F

    #3A382F

    oklch(34% 0.015 96.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #323940

    #323940

    oklch(34.1% 0.016 248.3)

  • #403536

    #403536

    oklch(34.1% 0.016 11.8)

  • #363A31

    #363A31

    oklch(34.2% 0.016 126.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #323940

    #323940

    oklch(34.1% 0.016 248.3)

  • #3E353B

    #3E353B

    oklch(34.1% 0.016 338.2)

  • #3E3730

    #3E3730

    oklch(34.2% 0.015 67.3)

  • #323B35

    #323B35

    oklch(34.2% 0.016 156.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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