#40464E

Closest named color: Charcoal Grey (#3C4142). oklch(39.2% 0.016 255.6), rgb(64, 70, 78).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (39%)
Chromaclose to neutral grey (0.016)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text2.20:1
White text9.52:1

Values

HEX#40464E
RGBrgb(64, 70, 78)
HSLhsl(214, 10%, 28%)
OKLCHoklch(39.2% 0.016 255.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 #40464E 9.52:1 AAA Lc -96.3 Preferred for body text
Black text on #40464E 2.20:1 Fails Lc 11.9 Not readable
#40464E text on white 9.52:1 AAA Lc 92.1 Preferred for body text
#40464E text on black 2.20:1 Fails Lc -10.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

    #F5F5F6

    oklch(97% 0.001 286.4)

  2. Step 100

    100

    #E8EAEC

    oklch(93.6% 0.003 247.9)

  3. Step 200

    200

    #D6D9DD

    oklch(88.4% 0.006 255.5)

  4. Step 300

    300

    #BCC1C8

    oklch(80.9% 0.011 256.7)

  5. Step 400

    400

    #99A1AD

    oklch(70.6% 0.02 258.4)

  6. Step 500

    500

    #808A98

    oklch(63% 0.024 256.8)

  7. Step 600

    600

    #697483

    oklch(55.5% 0.027 256.2)

  8. Step 700

    700

    #58626F

    oklch(49.2% 0.024 255)

  9. Step 800

    800

    #48505A

    oklch(42.8% 0.02 254)

  10. Step 900

    900 (this color)

    #40464E

    oklch(39.2% 0.016 255.6)

  11. Step 950

    950

    #23272B

    oklch(27% 0.009 248.2)

Export this scale for Tailwind in the Tailwind colors tool

#40464E 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)#43464E0.005
Deuteranopia (no green cones)#42454E0.004
Tritanopia (no blue cones)#3D48490.013
Achromatopsia (no color)#4545450.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #40464E

    #40464E

    oklch(39.2% 0.016 255.6)

  • #4A443C

    #4A443C

    oklch(39% 0.015 75.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40464E

    #40464E

    oklch(39.2% 0.016 255.6)

  • #3D474C

    #3D474C

    oklch(39.1% 0.016 229.3)

  • #44444E

    #44444E

    oklch(39% 0.017 285.6)

Open the analogous palette in the generator

Split complementary

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

  • #40464E

    #40464E

    oklch(39.2% 0.016 255.6)

  • #4D433F

    #4D433F

    oklch(39.2% 0.015 43.1)

  • #46463D

    #46463D

    oklch(39.1% 0.015 107.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40464E

    #40464E

    oklch(39.2% 0.016 255.6)

  • #4E4243

    #4E4243

    oklch(39.2% 0.017 12.2)

  • #42473F

    #42473F

    oklch(39.1% 0.015 133.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40464E

    #40464E

    oklch(39.2% 0.016 255.6)

  • #4C4247

    #4C4247

    oklch(39.1% 0.016 346.2)

  • #4A443C

    #4A443C

    oklch(39% 0.015 75.2)

  • #3E4843

    #3E4843

    oklch(39.1% 0.015 164.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40464E 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.