#403F4C

Closest named color: Charcoal Grey (#3C4142). oklch(37.4% 0.022 288.8), rgb(64, 63, 76).

Aa

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

About this color

#403F4C is a dark close to neutral grey. In OKLCH its lightness is 37%, its chroma 0.022. 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.32:1.

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

Values

HEX#403F4C
RGBrgb(64, 63, 76)
HSLhsl(245, 9%, 27%)
OKLCHoklch(37.4% 0.022 288.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 #403F4C 10.32:1 AAA Lc -98.0 Preferred for body text
Black text on #403F4C 2.03:1 Fails Lc 9.9 Not readable
#403F4C text on white 10.32:1 AAA Lc 94.0 Preferred for body text
#403F4C text on black 2.03:1 Fails Lc -8.6 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

    #E9E9ED

    oklch(93.5% 0.005 286.3)

  3. Step 200

    200

    #D9D8DF

    oklch(88.5% 0.01 292.8)

  4. Step 300

    300

    #C0BFCB

    oklch(80.9% 0.017 289.9)

  5. Step 400

    400

    #9F9EB1

    oklch(70.6% 0.027 288.1)

  6. Step 500

    500

    #88879D

    oklch(63.2% 0.033 287.5)

  7. Step 600

    600

    #727088

    oklch(55.6% 0.037 289)

  8. Step 700

    700

    #605E73

    oklch(49.2% 0.033 289.5)

  9. Step 800

    800

    #4E4D5E

    oklch(42.8% 0.028 287.9)

  10. Step 900

    900 (this color)

    #403F4C

    oklch(37.4% 0.022 288.8)

  11. Step 950

    950

    #26252D

    oklch(26.9% 0.015 291.1)

Export this scale for Tailwind in the Tailwind colors tool

#403F4C 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)#3C414D0.008
Deuteranopia (no green cones)#3C404C0.007
Tritanopia (no blue cones)#3E41430.019
Achromatopsia (no color)#4040400.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #403F4C

    #403F4C

    oklch(37.4% 0.022 288.8)

  • #414234

    #414234

    oklch(37.4% 0.023 110.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403F4C

    #403F4C

    oklch(37.4% 0.022 288.8)

  • #3A414D

    #3A414D

    oklch(37.4% 0.023 261.2)

  • #463D48

    #463D48

    oklch(37.3% 0.022 320.1)

Open the analogous palette in the generator

Split complementary

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

  • #403F4C

    #403F4C

    oklch(37.4% 0.022 288.8)

  • #474034

    #474034

    oklch(37.5% 0.022 81.2)

  • #3B4438

    #3B4438

    oklch(37.4% 0.023 137.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403F4C

    #403F4C

    oklch(37.4% 0.022 288.8)

  • #4B3D37

    #4B3D37

    oklch(37.3% 0.022 44.5)

  • #36453F

    #36453F

    oklch(37.5% 0.022 168.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403F4C

    #403F4C

    oklch(37.4% 0.022 288.8)

  • #4C3C3C

    #4C3C3C

    oklch(37.3% 0.023 18.2)

  • #414234

    #414234

    oklch(37.4% 0.023 110.8)

  • #334445

    #334445

    oklch(37.2% 0.022 200.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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