#404148

Closest named color: Charcoal Grey (#3C4142). oklch(37.7% 0.012 279.3), rgb(64, 65, 72).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (38%)
Chromaclose to neutral grey (0.012)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text2.06:1
White text10.15:1

Values

HEX#404148
RGBrgb(64, 65, 72)
HSLhsl(233, 6%, 27%)
OKLCHoklch(37.7% 0.012 279.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 #404148 10.15:1 AAA Lc -97.7 Preferred for body text
Black text on #404148 2.06:1 Fails Lc 10.3 Not readable
#404148 text on white 10.15:1 AAA Lc 93.6 Preferred for body text
#404148 text on black 2.06:1 Fails Lc -8.9 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

    #E9EAEB

    oklch(93.7% 0.002 247.8)

  3. Step 200

    200

    #D8D9DC

    oklch(88.5% 0.004 271.4)

  4. Step 300

    300

    #BFC0C6

    oklch(80.9% 0.008 278.6)

  5. Step 400

    400

    #9EA0AA

    oklch(70.7% 0.015 277)

  6. Step 500

    500

    #878995

    oklch(63.2% 0.018 278.3)

  7. Step 600

    600

    #70727F

    oklch(55.5% 0.02 278.8)

  8. Step 700

    700

    #5E606B

    oklch(49.1% 0.018 277.5)

  9. Step 800

    800

    #4D4E58

    oklch(42.7% 0.016 281.1)

  10. Step 900

    900 (this color)

    #404148

    oklch(37.7% 0.012 279.3)

  11. Step 950

    950

    #25262A

    oklch(26.9% 0.008 274.7)

Export this scale for Tailwind in the Tailwind colors tool

#404148 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)#3F42480.003
Deuteranopia (no green cones)#3F41480.002
Tritanopia (no blue cones)#3E42430.011
Achromatopsia (no color)#4141410.012

Harmonies

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

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

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

Similar named colors

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

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