#404756

Closest named color: Dark Grey Blue (#29465B). oklch(39.8% 0.027 265.4), rgb(64, 71, 86).

Aa

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

About this color

#404756 is a dark close to neutral grey. In OKLCH its lightness is 40%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.032 away. White text reads best on it, at 9.31:1.

Hue familyNeutrals
Lightnessdark (40%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameDark Grey Blue (#29465B)
Black text2.25:1
White text9.31:1

Values

HEX#404756
RGBrgb(64, 71, 86)
HSLhsl(221, 15%, 29%)
OKLCHoklch(39.8% 0.027 265.4)

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 #404756 9.31:1 AAA Lc -95.8 Preferred for body text
Black text on #404756 2.25:1 Fails Lc 12.4 Not readable
#404756 text on white 9.31:1 AAA Lc 91.5 Preferred for body text
#404756 text on black 2.25:1 Fails Lc -10.8 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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E8EAEE

    oklch(93.7% 0.006 264.5)

  3. Step 200

    200

    #D5D9E1

    oklch(88.5% 0.012 264.5)

  4. Step 300

    300

    #BAC1CE

    oklch(80.9% 0.02 263)

  5. Step 400

    400

    #97A1B6

    oklch(70.8% 0.033 265.2)

  6. Step 500

    500

    #7D89A3

    oklch(63% 0.042 265.7)

  7. Step 600

    600

    #67738E

    oklch(55.6% 0.045 266.2)

  8. Step 700

    700

    #556179

    oklch(49.2% 0.041 264.1)

  9. Step 800

    800

    #464F62

    oklch(42.7% 0.034 265.1)

  10. Step 900

    900 (this color)

    #404756

    oklch(39.8% 0.027 265.4)

  11. Step 950

    950

    #22262F

    oklch(26.9% 0.018 266.3)

Export this scale for Tailwind in the Tailwind colors tool

#404756 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)#4248570.005
Deuteranopia (no green cones)#4046560.003
Tritanopia (no blue cones)#3A4A4C0.024
Achromatopsia (no color)#4747470.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #404756

    #404756

    oklch(39.8% 0.027 265.4)

  • #4E4637

    #4E4637

    oklch(39.8% 0.026 83.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404756

    #404756

    oklch(39.8% 0.027 265.4)

  • #394A54

    #394A54

    oklch(39.9% 0.027 234.2)

  • #484454

    #484454

    oklch(39.7% 0.027 296.6)

Open the analogous palette in the generator

Split complementary

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

  • #404756

    #404756

    oklch(39.8% 0.027 265.4)

  • #534339

    #534339

    oklch(39.7% 0.028 53.7)

  • #464938

    #464938

    oklch(39.7% 0.028 115.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404756

    #404756

    oklch(39.8% 0.027 265.4)

  • #554240

    #554240

    oklch(39.9% 0.027 25.3)

  • #3E4B3E

    #3E4B3E

    oklch(39.7% 0.027 145)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404756

    #404756

    oklch(39.8% 0.027 265.4)

  • #534148

    #534148

    oklch(39.7% 0.027 353.1)

  • #4E4637

    #4E4637

    oklch(39.8% 0.026 83.1)

  • #384C46

    #384C46

    oklch(39.8% 0.027 174.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404756 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.