#403C47

Closest named color: Charcoal Grey (#3C4142). oklch(36.4% 0.019 302), rgb(64, 60, 71).

Aa

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

About this color

#403C47 is a dark close to neutral grey. In OKLCH its lightness is 36%, its chroma 0.019. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.022 away. White text reads best on it, at 10.73:1.

Hue familyNeutrals
Lightnessdark (36%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text1.95:1
White text10.73:1

Values

HEX#403C47
RGBrgb(64, 60, 71)
HSLhsl(262, 8%, 26%)
OKLCHoklch(36.4% 0.019 302)

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 #403C47 10.73:1 AAA Lc -98.8 Preferred for body text
Black text on #403C47 1.95:1 Fails Lc 9.0 Not readable
#403C47 text on white 10.73:1 AAA Lc 94.9 Preferred for body text
#403C47 text on black 1.95:1 Fails Lc -7.7 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

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #DAD8DE

    oklch(88.6% 0.008 301.3)

  4. Step 300

    300

    #C2BFC9

    oklch(81% 0.014 299.7)

  5. Step 400

    400

    #A39DAD

    oklch(70.6% 0.024 302.8)

  6. Step 500

    500

    #8D8699

    oklch(63.2% 0.029 302.3)

  7. Step 600

    600

    #776F83

    oklch(55.6% 0.032 303.5)

  8. Step 700

    700

    #645D6F

    oklch(49.1% 0.03 303)

  9. Step 800

    800

    #514C5B

    oklch(42.7% 0.025 300.5)

  10. Step 900

    900 (this color)

    #403C47

    oklch(36.4% 0.019 302)

  11. Step 950

    950

    #27252C

    oklch(27% 0.013 298.6)

Export this scale for Tailwind in the Tailwind colors tool

#403C47 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)#3A3E480.011
Deuteranopia (no green cones)#3B3E470.010
Tritanopia (no blue cones)#3F3D400.014
Achromatopsia (no color)#3E3E3E0.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #403C47

    #403C47

    oklch(36.4% 0.019 302)

  • #3C4035

    #3C4035

    oklch(36.4% 0.019 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403C47

    #403C47

    oklch(36.4% 0.019 302)

  • #3B3E49

    #3B3E49

    oklch(36.5% 0.019 273.4)

  • #453B43

    #453B43

    oklch(36.6% 0.019 332.8)

Open the analogous palette in the generator

Split complementary

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

  • #403C47

    #403C47

    oklch(36.4% 0.019 302)

  • #423E33

    #423E33

    oklch(36.4% 0.019 90.4)

  • #374139

    #374139

    oklch(36.3% 0.019 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403C47

    #403C47

    oklch(36.4% 0.019 302)

  • #463C34

    #463C34

    oklch(36.4% 0.019 60.8)

  • #33423F

    #33423F

    oklch(36.5% 0.02 181.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403C47

    #403C47

    oklch(36.4% 0.019 302)

  • #483B38

    #483B38

    oklch(36.5% 0.019 33.2)

  • #3C4035

    #3C4035

    oklch(36.4% 0.019 123.6)

  • #334144

    #334144

    oklch(36.4% 0.019 212.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #403C47 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.