#403E47

Closest named color: Charcoal Grey (#3C4142). oklch(36.9% 0.015 295.8), rgb(64, 62, 71).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (37%)
Chromaclose to neutral grey (0.015)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text1.99:1
White text10.51:1

Values

HEX#403E47
RGBrgb(64, 62, 71)
HSLhsl(253, 7%, 26%)
OKLCHoklch(36.9% 0.015 295.8)

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 #403E47 10.51:1 AAA Lc -98.4 Preferred for body text
Black text on #403E47 1.99:1 Fails Lc 9.5 Not readable
#403E47 text on white 10.51:1 AAA Lc 94.4 Preferred for body text
#403E47 text on black 1.99:1 Fails Lc -8.2 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

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #D9D8DD

    oklch(88.4% 0.007 295.4)

  4. Step 300

    300

    #C1BFC7

    oklch(80.9% 0.011 297.6)

  5. Step 400

    400

    #A19EAB

    oklch(70.6% 0.019 296.5)

  6. Step 500

    500

    #8A8797

    oklch(63.1% 0.024 294.3)

  7. Step 600

    600

    #747181

    oklch(55.7% 0.025 294.2)

  8. Step 700

    700

    #625E6D

    oklch(49.1% 0.024 297.7)

  9. Step 800

    800

    #504D59

    oklch(42.8% 0.02 297)

  10. Step 900

    900 (this color)

    #403E47

    oklch(36.9% 0.015 295.8)

  11. Step 950

    950

    #27262B

    oklch(27.2% 0.009 294.9)

Export this scale for Tailwind in the Tailwind colors tool

#403E47 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)#3C3F470.007
Deuteranopia (no green cones)#3D3F470.006
Tritanopia (no blue cones)#3F3F410.012
Achromatopsia (no color)#3F3F3F0.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #403E47

    #403E47

    oklch(36.9% 0.015 295.8)

  • #3F4137

    #3F4137

    oklch(37% 0.017 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403E47

    #403E47

    oklch(36.9% 0.015 295.8)

  • #3C4048

    #3C4048

    oklch(37.1% 0.015 264.4)

  • #443D44

    #443D44

    oklch(37% 0.015 325.9)

Open the analogous palette in the generator

Split complementary

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

  • #403E47

    #403E47

    oklch(36.9% 0.015 295.8)

  • #433F36

    #433F36

    oklch(36.9% 0.016 86.9)

  • #3B423B

    #3B423B

    oklch(37% 0.015 145.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403E47

    #403E47

    oklch(36.9% 0.015 295.8)

  • #463E38

    #463E38

    oklch(37% 0.015 59.2)

  • #37423F

    #37423F

    oklch(36.8% 0.015 177.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403E47

    #403E47

    oklch(36.9% 0.015 295.8)

  • #473D3B

    #473D3B

    oklch(37% 0.014 31.2)

  • #3F4137

    #3F4137

    oklch(37% 0.017 116.4)

  • #364243

    #364243

    oklch(36.9% 0.016 202.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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