#404351

Closest named color: Charcoal Grey (#3C4142). oklch(38.6% 0.024 275.7), rgb(64, 67, 81).

Aa

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

About this color

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

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

Values

HEX#404351
RGBrgb(64, 67, 81)
HSLhsl(229, 12%, 28%)
OKLCHoklch(38.6% 0.024 275.7)

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 #404351 9.81:1 AAA Lc -97.0 Preferred for body text
Black text on #404351 2.13:1 Fails Lc 11.2 Not readable
#404351 text on white 9.81:1 AAA Lc 92.8 Preferred for body text
#404351 text on black 2.13:1 Fails Lc -9.7 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

    #E9EAED

    oklch(93.7% 0.004 271.4)

  3. Step 200

    200

    #D7D9E0

    oklch(88.6% 0.01 273.3)

  4. Step 300

    300

    #BDC0CD

    oklch(80.9% 0.018 275.6)

  5. Step 400

    400

    #9B9FB3

    oklch(70.6% 0.029 276.6)

  6. Step 500

    500

    #8388A0

    oklch(63.1% 0.036 276)

  7. Step 600

    600

    #6C728B

    oklch(55.6% 0.039 274.5)

  8. Step 700

    700

    #5A5F76

    oklch(49% 0.037 275.3)

  9. Step 800

    800

    #4A4E60

    oklch(42.7% 0.03 275.2)

  10. Step 900

    900 (this color)

    #404351

    oklch(38.6% 0.024 275.7)

  11. Step 950

    950

    #24262E

    oklch(27% 0.015 274.3)

Export this scale for Tailwind in the Tailwind colors tool

#404351 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)#3F44520.003
Deuteranopia (no green cones)#3E43510.003
Tritanopia (no blue cones)#3C45480.020
Achromatopsia (no color)#4444440.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #404351

    #404351

    oklch(38.6% 0.024 275.7)

  • #484435

    #484435

    oklch(38.6% 0.025 94.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404351

    #404351

    oklch(38.6% 0.024 275.7)

  • #394550

    #394550

    oklch(38.4% 0.024 246.2)

  • #47414E

    #47414E

    oklch(38.6% 0.023 306.2)

Open the analogous palette in the generator

Split complementary

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

  • #404351

    #404351

    oklch(38.6% 0.024 275.7)

  • #4D4136

    #4D4136

    oklch(38.4% 0.024 64.5)

  • #414638

    #414638

    oklch(38.5% 0.024 123.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404351

    #404351

    oklch(38.6% 0.024 275.7)

  • #50403B

    #50403B

    oklch(38.7% 0.024 38.1)

  • #3A483E

    #3A483E

    oklch(38.6% 0.025 154)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404351

    #404351

    oklch(38.6% 0.024 275.7)

  • #503F42

    #503F42

    oklch(38.7% 0.024 6.4)

  • #484435

    #484435

    oklch(38.6% 0.025 94.9)

  • #354846

    #354846

    oklch(38.5% 0.024 188.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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