#403E4E

Closest named color: Charcoal Grey (#3C4142). oklch(37.2% 0.027 290.7), rgb(64, 62, 78).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (37%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text2.01:1
White text10.41:1

Values

HEX#403E4E
RGBrgb(64, 62, 78)
HSLhsl(248, 11%, 27%)
OKLCHoklch(37.2% 0.027 290.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 #403E4E 10.41:1 AAA Lc -98.2 Preferred for body text
Black text on #403E4E 2.01:1 Fails Lc 9.7 Not readable
#403E4E text on white 10.41:1 AAA Lc 94.2 Preferred for body text
#403E4E text on black 2.01:1 Fails Lc -8.4 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

    #EAE9EE

    oklch(93.6% 0.007 295.4)

  3. Step 200

    200

    #D9D8E0

    oklch(88.5% 0.011 291.9)

  4. Step 300

    300

    #C0BFCD

    oklch(81% 0.02 289.2)

  5. Step 400

    400

    #A09DB4

    oklch(70.6% 0.033 291.5)

  6. Step 500

    500

    #8985A1

    oklch(63% 0.042 291.7)

  7. Step 600

    600

    #736F8C

    oklch(55.6% 0.045 291.2)

  8. Step 700

    700

    #605D77

    oklch(49.1% 0.041 290.1)

  9. Step 800

    800

    #4F4C61

    oklch(42.8% 0.035 291.4)

  10. Step 900

    900 (this color)

    #403E4E

    oklch(37.2% 0.027 290.7)

  11. Step 950

    950

    #26252E

    oklch(26.9% 0.017 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#403E4E 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)#3A404F0.011
Deuteranopia (no green cones)#3A3F4E0.010
Tritanopia (no blue cones)#3D41430.025
Achromatopsia (no color)#4040400.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #403E4E

    #403E4E

    oklch(37.2% 0.027 290.7)

  • #414231

    #414231

    oklch(37.3% 0.028 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403E4E

    #403E4E

    oklch(37.2% 0.027 290.7)

  • #38414F

    #38414F

    oklch(37.3% 0.027 259.2)

  • #473C49

    #473C49

    oklch(37.3% 0.026 321.1)

Open the analogous palette in the generator

Split complementary

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

  • #403E4E

    #403E4E

    oklch(37.2% 0.027 290.7)

  • #483F30

    #483F30

    oklch(37.2% 0.027 80.4)

  • #394437

    #394437

    oklch(37.2% 0.026 140.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403E4E

    #403E4E

    oklch(37.2% 0.027 290.7)

  • #4D3C33

    #4D3C33

    oklch(37.2% 0.028 49.3)

  • #32453E

    #32453E

    oklch(37.2% 0.027 170.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403E4E

    #403E4E

    oklch(37.2% 0.027 290.7)

  • #4E3B3A

    #4E3B3A

    oklch(37.3% 0.027 21.9)

  • #414231

    #414231

    oklch(37.3% 0.028 110.5)

  • #2F4546

    #2F4546

    oklch(37.3% 0.027 199.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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