#323C40

Closest named color: Onyx (#343A40). oklch(34.9% 0.015 223.9), rgb(50, 60, 64).

Aa

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

About this color

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

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

Values

HEX#323C40
RGBrgb(50, 60, 64)
HSLhsl(197, 12%, 22%)
OKLCHoklch(34.9% 0.015 223.9)

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 #323C40 11.31:1 AAA Lc -99.9 Preferred for body text
Black text on #323C40 1.85:1 Fails Lc 7.8 Not readable
#323C40 text on white 11.31:1 AAA Lc 96.1 Preferred for body text
#323C40 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

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E8EAEB

    oklch(93.6% 0.003 228.8)

  3. Step 200

    200

    #D5DADC

    oklch(88.5% 0.006 223.5)

  4. Step 300

    300

    #B9C2C6

    oklch(80.8% 0.011 226)

  5. Step 400

    400

    #95A3A9

    oklch(70.6% 0.018 225.3)

  6. Step 500

    500

    #7B8D94

    oklch(63.1% 0.023 223.2)

  7. Step 600

    600

    #64777E

    oklch(55.6% 0.025 222.1)

  8. Step 700

    700

    #53646B

    oklch(49.2% 0.024 224.7)

  9. Step 800

    800

    #445157

    oklch(42.6% 0.019 227.4)

  10. Step 900

    900 (this color)

    #323C40

    oklch(34.9% 0.015 223.9)

  11. Step 950

    950

    #22282A

    oklch(27.2% 0.009 219.8)

Export this scale for Tailwind in the Tailwind colors tool

#323C40 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)#3A3B400.013
Deuteranopia (no green cones)#383A400.011
Tritanopia (no blue cones)#2E3D3D0.010
Achromatopsia (no color)#3A3A3A0.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #323C40

    #323C40

    oklch(34.9% 0.015 223.9)

  • #413834

    #413834

    oklch(34.9% 0.015 45.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #323C40

    #323C40

    oklch(34.9% 0.015 223.9)

  • #313D3C

    #313D3C

    oklch(34.9% 0.016 190.2)

  • #353B42

    #353B42

    oklch(34.9% 0.015 252.3)

Open the analogous palette in the generator

Split complementary

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

  • #323C40

    #323C40

    oklch(34.9% 0.015 223.9)

  • #423738

    #423738

    oklch(34.9% 0.016 11.7)

  • #3F3932

    #3F3932

    oklch(34.8% 0.015 71.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #323C40

    #323C40

    oklch(34.9% 0.015 223.9)

  • #40373C

    #40373C

    oklch(34.8% 0.015 343.4)

  • #3B3B32

    #3B3B32

    oklch(34.9% 0.015 107.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #323C40

    #323C40

    oklch(34.9% 0.015 223.9)

  • #3D3840

    #3D3840

    oklch(34.9% 0.015 313)

  • #413834

    #413834

    oklch(34.9% 0.015 45.4)

  • #373C34

    #373C34

    oklch(34.9% 0.015 133.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #323C40 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.