#403A49

Closest named color: Onyx (#343A40). oklch(36.1% 0.027 303.3), rgb(64, 58, 73).

Aa

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

About this color

#403A49 is a dark close to neutral grey. In OKLCH its lightness is 36%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.027 away. White text reads best on it, at 10.94:1.

Hue familyNeutrals
Lightnessdark (36%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.91:1
White text10.94:1

Values

HEX#403A49
RGBrgb(64, 58, 73)
HSLhsl(264, 11%, 26%)
OKLCHoklch(36.1% 0.027 303.3)

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 #403A49 10.94:1 AAA Lc -99.2 Preferred for body text
Black text on #403A49 1.91:1 Fails Lc 8.6 Not readable
#403A49 text on white 10.94:1 AAA Lc 95.3 Preferred for body text
#403A49 text on black 1.91:1 Fails Lc -7.3 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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EAE9ED

    oklch(93.6% 0.005 297.7)

  3. Step 200

    200

    #DAD7DF

    oklch(88.4% 0.011 303.1)

  4. Step 300

    300

    #C3BECB

    oklch(80.9% 0.019 303.4)

  5. Step 400

    400

    #A49CB1

    oklch(70.6% 0.031 302.9)

  6. Step 500

    500

    #8E849E

    oklch(63.1% 0.04 302.8)

  7. Step 600

    600

    #786D89

    oklch(55.5% 0.045 302.9)

  8. Step 700

    700

    #655B74

    oklch(49% 0.041 303.1)

  9. Step 800

    800

    #534B5F

    oklch(42.8% 0.034 303.2)

  10. Step 900

    900 (this color)

    #403A49

    oklch(36.1% 0.027 303.3)

  11. Step 950

    950

    #28252D

    oklch(27.1% 0.015 302.4)

Export this scale for Tailwind in the Tailwind colors tool

#403A49 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)#373C4A0.015
Deuteranopia (no green cones)#383D490.016
Tritanopia (no blue cones)#3F3C3F0.021
Achromatopsia (no color)#3D3D3D0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #403A49

    #403A49

    oklch(36.1% 0.027 303.3)

  • #3A4030

    #3A4030

    oklch(36.1% 0.028 124.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403A49

    #403A49

    oklch(36.1% 0.027 303.3)

  • #383D4C

    #383D4C

    oklch(36.2% 0.027 270.6)

  • #463843

    #463843

    oklch(36% 0.027 333.6)

Open the analogous palette in the generator

Split complementary

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

  • #403A49

    #403A49

    oklch(36.1% 0.027 303.3)

  • #423D2D

    #423D2D

    oklch(36% 0.027 92.8)

  • #334237

    #334237

    oklch(36.2% 0.027 153.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403A49

    #403A49

    oklch(36.1% 0.027 303.3)

  • #483A2F

    #483A2F

    oklch(36% 0.027 59.9)

  • #2D423F

    #2D423F

    oklch(36% 0.027 185.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403A49

    #403A49

    oklch(36.1% 0.027 303.3)

  • #4A3834

    #4A3834

    oklch(35.9% 0.027 32.7)

  • #3A4030

    #3A4030

    oklch(36.1% 0.028 124.5)

  • #2D4146

    #2D4146

    oklch(36% 0.027 214.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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