#403F49

Closest named color: Charcoal Grey (#3C4142). oklch(37.3% 0.017 290.1), rgb(64, 63, 73).

Aa

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

About this color

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

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

Values

HEX#403F49
RGBrgb(64, 63, 73)
HSLhsl(246, 7%, 27%)
OKLCHoklch(37.3% 0.017 290.1)

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 #403F49 10.36:1 AAA Lc -98.1 Preferred for body text
Black text on #403F49 2.02:1 Fails Lc 9.8 Not readable
#403F49 text on white 10.36:1 AAA Lc 94.1 Preferred for body text
#403F49 text on black 2.02:1 Fails Lc -8.5 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

    #D9D8DE

    oklch(88.5% 0.008 293.9)

  4. Step 300

    300

    #C0BFC8

    oklch(80.8% 0.013 291.2)

  5. Step 400

    400

    #A09FAD

    oklch(70.8% 0.02 289.2)

  6. Step 500

    500

    #898799

    oklch(63.1% 0.027 290.7)

  7. Step 600

    600

    #737183

    oklch(55.7% 0.028 290.6)

  8. Step 700

    700

    #605E6F

    oklch(49% 0.027 290.8)

  9. Step 800

    800

    #4E4D5A

    oklch(42.6% 0.021 289)

  10. Step 900

    900 (this color)

    #403F49

    oklch(37.3% 0.017 290.1)

  11. Step 950

    950

    #26262B

    oklch(27.1% 0.009 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#403F49 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)#3D40490.006
Deuteranopia (no green cones)#3D40490.006
Tritanopia (no blue cones)#3E41420.016
Achromatopsia (no color)#4040400.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #403F49

    #403F49

    oklch(37.3% 0.017 290.1)

  • #414137

    #414137

    oklch(37.2% 0.017 107.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403F49

    #403F49

    oklch(37.3% 0.017 290.1)

  • #3B414A

    #3B414A

    oklch(37.3% 0.017 258.4)

  • #453E46

    #453E46

    oklch(37.4% 0.016 322)

Open the analogous palette in the generator

Split complementary

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

  • #403F49

    #403F49

    oklch(37.3% 0.017 290.1)

  • #454036

    #454036

    oklch(37.3% 0.018 84.6)

  • #3C433A

    #3C433A

    oklch(37.3% 0.018 138.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403F49

    #403F49

    oklch(37.3% 0.017 290.1)

  • #483E38

    #483E38

    oklch(37.2% 0.017 52.9)

  • #38433F

    #38433F

    oklch(37.2% 0.016 171.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403F49

    #403F49

    oklch(37.3% 0.017 290.1)

  • #493D3D

    #493D3D

    oklch(37.3% 0.017 17.9)

  • #414137

    #414137

    oklch(37.2% 0.017 107.2)

  • #364344

    #364344

    oklch(37.2% 0.017 202.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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