#403F4D

Closest named color: Charcoal Grey (#3C4142). oklch(37.4% 0.024 288.5), rgb(64, 63, 77).

Aa

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

About this color

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

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

Values

HEX#403F4D
RGBrgb(64, 63, 77)
HSLhsl(244, 10%, 27%)
OKLCHoklch(37.4% 0.024 288.5)

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 #403F4D 10.31:1 AAA Lc -98.0 Preferred for body text
Black text on #403F4D 2.03:1 Fails Lc 10.0 Not readable
#403F4D text on white 10.31:1 AAA Lc 94.0 Preferred for body text
#403F4D 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

    #D8D8DF

    oklch(88.4% 0.01 286.2)

  4. Step 300

    300

    #C0BFCC

    oklch(80.9% 0.018 289.5)

  5. Step 400

    400

    #9F9EB2

    oklch(70.7% 0.029 287.9)

  6. Step 500

    500

    #88869F

    oklch(63% 0.037 289)

  7. Step 600

    600

    #72708A

    oklch(55.6% 0.04 288.6)

  8. Step 700

    700

    #5F5E75

    oklch(49.2% 0.037 287)

  9. Step 800

    800

    #4E4D5F

    oklch(42.8% 0.03 287.6)

  10. Step 900

    900 (this color)

    #403F4D

    oklch(37.4% 0.024 288.5)

  11. Step 950

    950

    #26252E

    oklch(26.9% 0.017 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#403F4D 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)#3C414E0.008
Deuteranopia (no green cones)#3C404D0.007
Tritanopia (no blue cones)#3D41440.020
Achromatopsia (no color)#4040400.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #403F4D

    #403F4D

    oklch(37.4% 0.024 288.5)

  • #424233

    #424233

    oklch(37.4% 0.025 107.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403F4D

    #403F4D

    oklch(37.4% 0.024 288.5)

  • #39414E

    #39414E

    oklch(37.3% 0.025 260.1)

  • #463D49

    #463D49

    oklch(37.4% 0.023 317.7)

Open the analogous palette in the generator

Split complementary

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

  • #403F4D

    #403F4D

    oklch(37.4% 0.024 288.5)

  • #484033

    #484033

    oklch(37.6% 0.024 79.9)

  • #3B4438

    #3B4438

    oklch(37.4% 0.023 137.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403F4D

    #403F4D

    oklch(37.4% 0.024 288.5)

  • #4C3D36

    #4C3D36

    oklch(37.4% 0.024 46.4)

  • #35453E

    #35453E

    oklch(37.4% 0.024 166.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403F4D

    #403F4D

    oklch(37.4% 0.024 288.5)

  • #4D3C3C

    #4D3C3C

    oklch(37.5% 0.024 18.3)

  • #424233

    #424233

    oklch(37.4% 0.025 107.5)

  • #324545

    #324545

    oklch(37.4% 0.024 196.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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