#404F48

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.2% 0.022 165.3), rgb(64, 79, 72).

Aa

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

About this color

#404F48 is a dark close to neutral grey. In OKLCH its lightness is 41%, its chroma 0.022. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.024 away. White text reads best on it, at 8.64:1.

Hue familyNeutrals
Lightnessdark (41%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.42:1
White text8.64:1

Values

HEX#404F48
RGBrgb(64, 79, 72)
HSLhsl(152, 10%, 28%)
OKLCHoklch(41.2% 0.022 165.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 #404F48 8.64:1 AAA Lc -94.2 Preferred for body text
Black text on #404F48 2.42:1 Fails Lc 14.3 Not readable
#404F48 text on white 8.64:1 AAA Lc 89.7 Fine for body text
#404F48 text on black 2.42:1 Fails Lc -12.6 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 800.

  1. Step 50

    50

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E8EBE9

    oklch(93.7% 0.004 157.2)

  3. Step 200

    200

    #D5DBD8

    oklch(88.6% 0.008 164.9)

  4. Step 300

    300

    #B9C3BE

    oklch(80.8% 0.013 164.7)

  5. Step 400

    400

    #95A59D

    oklch(70.7% 0.021 164.3)

  6. Step 500

    500

    #7B8F86

    oklch(63.1% 0.027 166.6)

  7. Step 600

    600

    #64796F

    oklch(55.6% 0.029 164.9)

  8. Step 700

    700

    #53665D

    oklch(49.2% 0.027 164.9)

  9. Step 800

    800 (this color)

    #404F48

    oklch(41.2% 0.022 165.3)

  10. Step 900

    900

    #39453F

    oklch(37.8% 0.019 163.8)

  11. Step 950

    950

    #222825

    oklch(27% 0.01 164.1)

Export this scale for Tailwind in the Tailwind colors tool

#404F48 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)#4E4D480.022
Deuteranopia (no green cones)#4C4B480.021
Tritanopia (no blue cones)#3D4F4D0.009
Achromatopsia (no color)#4C4C4C0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #404F48

    #404F48

    oklch(41.2% 0.022 165.3)

  • #54464E

    #54464E

    oklch(41.1% 0.023 342.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404F48

    #404F48

    oklch(41.2% 0.022 165.3)

  • #464E42

    #464E42

    oklch(41.3% 0.022 135.1)

  • #3D4F4F

    #3D4F4F

    oklch(41.2% 0.022 196.3)

Open the analogous palette in the generator

Split complementary

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

  • #404F48

    #404F48

    oklch(41.2% 0.022 165.3)

  • #504753

    #504753

    oklch(41.1% 0.023 317.7)

  • #574647

    #574647

    oklch(41.2% 0.023 14.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404F48

    #404F48

    oklch(41.2% 0.022 165.3)

  • #494957

    #494957

    oklch(41.1% 0.023 285.3)

  • #564741

    #564741

    oklch(41.1% 0.023 43)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404F48

    #404F48

    oklch(41.2% 0.022 165.3)

  • #434C57

    #434C57

    oklch(41.3% 0.022 253.5)

  • #54464E

    #54464E

    oklch(41.1% 0.023 342.8)

  • #52493E

    #52493E

    oklch(41.1% 0.022 72.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404F48 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.