#40424C

Closest named color: Charcoal Grey (#3C4142). oklch(38.1% 0.017 276.6), rgb(64, 66, 76).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (38%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text2.10:1
White text9.99:1

Values

HEX#40424C
RGBrgb(64, 66, 76)
HSLhsl(230, 9%, 27%)
OKLCHoklch(38.1% 0.017 276.6)

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 #40424C 9.99:1 AAA Lc -97.3 Preferred for body text
Black text on #40424C 2.10:1 Fails Lc 10.7 Not readable
#40424C text on white 9.99:1 AAA Lc 93.2 Preferred for body text
#40424C text on black 2.10:1 Fails Lc -9.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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9EAEC

    oklch(93.7% 0.003 264.5)

  3. Step 200

    200

    #D8D9DE

    oklch(88.6% 0.007 277.2)

  4. Step 300

    300

    #BEC0C9

    oklch(80.9% 0.013 276.1)

  5. Step 400

    400

    #9DA0AE

    oklch(70.8% 0.021 276.2)

  6. Step 500

    500

    #85889A

    oklch(63% 0.027 278.1)

  7. Step 600

    600

    #6F7284

    oklch(55.6% 0.028 278)

  8. Step 700

    700

    #5C6070

    oklch(49.1% 0.026 274.3)

  9. Step 800

    800

    #4C4E5B

    oklch(42.7% 0.022 278.5)

  10. Step 900

    900 (this color)

    #40424C

    oklch(38.1% 0.017 276.6)

  11. Step 950

    950

    #25262C

    oklch(27% 0.011 278.1)

Export this scale for Tailwind in the Tailwind colors tool

#40424C 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)#3F434C0.003
Deuteranopia (no green cones)#3F424C0.002
Tritanopia (no blue cones)#3D44450.016
Achromatopsia (no color)#4242420.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #40424C

    #40424C

    oklch(38.1% 0.017 276.6)

  • #454339

    #454339

    oklch(38.2% 0.017 97.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40424C

    #40424C

    oklch(38.1% 0.017 276.6)

  • #3B444B

    #3B444B

    oklch(38.1% 0.017 241.4)

  • #45404A

    #45404A

    oklch(38% 0.018 307.9)

Open the analogous palette in the generator

Split complementary

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

  • #40424C

    #40424C

    oklch(38.1% 0.017 276.6)

  • #494139

    #494139

    oklch(38.1% 0.017 67.3)

  • #40443B

    #40443B

    oklch(38% 0.016 126.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40424C

    #40424C

    oklch(38.1% 0.017 276.6)

  • #4B403C

    #4B403C

    oklch(38.2% 0.017 41)

  • #3B463F

    #3B463F

    oklch(38.2% 0.019 157.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40424C

    #40424C

    oklch(38.1% 0.017 276.6)

  • #4B3F41

    #4B3F41

    oklch(38.1% 0.017 6.6)

  • #454339

    #454339

    oklch(38.2% 0.017 97.8)

  • #394644

    #394644

    oklch(38.2% 0.017 185.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40424C 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.