#403D4D

Closest named color: Charcoal Grey (#3C4142). oklch(36.9% 0.027 293.6), rgb(64, 61, 77).

Aa

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

About this color

#403D4D 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.53:1.

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

Values

HEX#403D4D
RGBrgb(64, 61, 77)
HSLhsl(251, 12%, 27%)
OKLCHoklch(36.9% 0.027 293.6)

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 #403D4D 10.53:1 AAA Lc -98.4 Preferred for body text
Black text on #403D4D 1.99:1 Fails Lc 9.4 Not readable
#403D4D text on white 10.53:1 AAA Lc 94.5 Preferred for body text
#403D4D text on black 1.99:1 Fails Lc -8.1 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

    #EAE9ED

    oklch(93.6% 0.005 297.7)

  3. Step 200

    200

    #D9D8E0

    oklch(88.5% 0.011 291.9)

  4. Step 300

    300

    #C1BECD

    oklch(80.9% 0.021 295.1)

  5. Step 400

    400

    #A19DB4

    oklch(70.7% 0.033 293.5)

  6. Step 500

    500

    #8A85A1

    oklch(63.1% 0.042 293.3)

  7. Step 600

    600

    #746F8C

    oklch(55.7% 0.045 292.8)

  8. Step 700

    700

    #615C77

    oklch(49% 0.043 293.2)

  9. Step 800

    800

    #504C61

    oklch(42.9% 0.035 293.6)

  10. Step 900

    900 (this color)

    #403D4D

    oklch(36.9% 0.027 293.6)

  11. Step 950

    950

    #27252E

    oklch(27% 0.017 295.4)

Export this scale for Tailwind in the Tailwind colors tool

#403D4D 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)#3A3F4E0.011
Deuteranopia (no green cones)#3A3F4D0.011
Tritanopia (no blue cones)#3E3F420.023
Achromatopsia (no color)#3F3F3F0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #403D4D

    #403D4D

    oklch(36.9% 0.027 293.6)

  • #3F4131

    #3F4131

    oklch(36.8% 0.026 113.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403D4D

    #403D4D

    oklch(36.9% 0.027 293.6)

  • #38404E

    #38404E

    oklch(37% 0.026 261.6)

  • #473B48

    #473B48

    oklch(37% 0.027 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #403D4D

    #403D4D

    oklch(36.9% 0.027 293.6)

  • #473F2F

    #473F2F

    oklch(37.1% 0.028 84.4)

  • #374436

    #374436

    oklch(37% 0.029 143.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403D4D

    #403D4D

    oklch(36.9% 0.027 293.6)

  • #4B3C32

    #4B3C32

    oklch(36.9% 0.027 55.4)

  • #31443E

    #31443E

    oklch(36.8% 0.026 173.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403D4D

    #403D4D

    oklch(36.9% 0.027 293.6)

  • #4D3A39

    #4D3A39

    oklch(36.9% 0.027 21.9)

  • #3F4131

    #3F4131

    oklch(36.8% 0.026 113.5)

  • #2E4446

    #2E4446

    oklch(36.9% 0.028 203.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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