#404243

Closest named color: Charcoal Grey (#3C4142). oklch(37.8% 0.003 228.9), rgb(64, 66, 67).

Aa

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

About this color

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

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

Values

HEX#404243
RGBrgb(64, 66, 67)
HSLhsl(200, 2%, 26%)
OKLCHoklch(37.8% 0.003 228.9)

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 #404243 10.10:1 AAA Lc -97.6 Preferred for body text
Black text on #404243 2.07:1 Fails Lc 10.4 Not readable
#404243 text on white 10.10:1 AAA Lc 93.5 Preferred for body text
#404243 text on black 2.07:1 Fails Lc -9.0 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

    #F5F5F5

    oklch(97% 0 0)

  2. Step 100

    100

    #E9EAEA

    oklch(93.6% 0.001 197.1)

  3. Step 200

    200

    #D8D9DA

    oklch(88.5% 0.002 247.8)

  4. Step 300

    300

    #BFC1C2

    oklch(81% 0.003 228.8)

  5. Step 400

    400

    #9EA1A2

    oklch(70.7% 0.004 219.5)

  6. Step 500

    500

    #868A8C

    oklch(63.1% 0.006 228.9)

  7. Step 600

    600

    #707476

    oklch(55.6% 0.006 228.9)

  8. Step 700

    700

    #5E6163

    oklch(49.1% 0.005 236.6)

  9. Step 800

    800

    #4D4F51

    oklch(42.6% 0.004 247.9)

  10. Step 900

    900 (this color)

    #404243

    oklch(37.8% 0.003 228.9)

  11. Step 950

    950

    #252727

    oklch(27.1% 0.003 197)

Export this scale for Tailwind in the Tailwind colors tool

#404243 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)#4142430.002
Deuteranopia (no green cones)#4141430.004
Tritanopia (no blue cones)#3F42420.002
Achromatopsia (no color)#4242420.004

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 #404243, closest first.

Similar named colors

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

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