#40454E

Closest named color: Charcoal Grey (#3C4142). oklch(38.9% 0.017 262.3), rgb(64, 69, 78).

Aa

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

About this color

#40454E is a dark close to neutral grey. In OKLCH its lightness is 39%, its chroma 0.017. 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 9.63:1.

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

Values

HEX#40454E
RGBrgb(64, 69, 78)
HSLhsl(219, 10%, 28%)
OKLCHoklch(38.9% 0.017 262.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 #40454E 9.63:1 AAA Lc -96.6 Preferred for body text
Black text on #40454E 2.17:1 Fails Lc 11.6 Not readable
#40454E text on white 9.63:1 AAA Lc 92.3 Preferred for body text
#40454E text on black 2.17:1 Fails Lc -10.1 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

    #D7D9DE

    oklch(88.5% 0.007 268.5)

  4. Step 300

    300

    #BCC1C9

    oklch(80.9% 0.013 259.8)

  5. Step 400

    400

    #9AA1AD

    oklch(70.7% 0.019 261.3)

  6. Step 500

    500

    #818A99

    oklch(63.1% 0.025 260.7)

  7. Step 600

    600

    #6B7484

    oklch(55.7% 0.027 262)

  8. Step 700

    700

    #596170

    oklch(49.1% 0.026 263.1)

  9. Step 800

    800

    #494F5B

    oklch(42.7% 0.021 264.3)

  10. Step 900

    900 (this color)

    #40454E

    oklch(38.9% 0.017 262.3)

  11. Step 950

    950

    #24272C

    oklch(27.2% 0.01 260.7)

Export this scale for Tailwind in the Tailwind colors tool

#40454E 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)#42454E0.003
Deuteranopia (no green cones)#41444E0.003
Tritanopia (no blue cones)#3D47480.015
Achromatopsia (no color)#4545450.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #40454E

    #40454E

    oklch(38.9% 0.017 262.3)

  • #49443B

    #49443B

    oklch(38.9% 0.016 82.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40454E

    #40454E

    oklch(38.9% 0.017 262.3)

  • #3C474C

    #3C474C

    oklch(39% 0.017 227)

  • #45434D

    #45434D

    oklch(38.9% 0.017 294.8)

Open the analogous palette in the generator

Split complementary

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

  • #40454E

    #40454E

    oklch(38.9% 0.017 262.3)

  • #4C433D

    #4C433D

    oklch(39% 0.016 55.9)

  • #45463C

    #45463C

    oklch(39% 0.016 111.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40454E

    #40454E

    oklch(38.9% 0.017 262.3)

  • #4D4141

    #4D4141

    oklch(38.8% 0.017 17.9)

  • #40473F

    #40473F

    oklch(38.9% 0.016 141.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40454E

    #40454E

    oklch(38.9% 0.017 262.3)

  • #4C4146

    #4C4146

    oklch(38.8% 0.017 348.7)

  • #49443B

    #49443B

    oklch(38.9% 0.016 82.3)

  • #3C4844

    #3C4844

    oklch(39% 0.017 173.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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