#404A4F

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.2% 0.015 229.3), rgb(64, 74, 79).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (40%)
Chromaclose to neutral grey (0.015)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.31:1
White text9.08:1

Values

HEX#404A4F
RGBrgb(64, 74, 79)
HSLhsl(200, 10%, 28%)
OKLCHoklch(40.2% 0.015 229.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 #404A4F 9.08:1 AAA Lc -95.3 Preferred for body text
Black text on #404A4F 2.31:1 Fails Lc 13.0 Not readable
#404A4F text on white 9.08:1 AAA Lc 90.9 Preferred for body text
#404A4F text on black 2.31:1 Fails Lc -11.4 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

    #F5F5F6

    oklch(97% 0.001 286.4)

  2. Step 100

    100

    #E8EAEB

    oklch(93.6% 0.003 228.8)

  3. Step 200

    200

    #D6DADC

    oklch(88.6% 0.005 228.8)

  4. Step 300

    300

    #BBC2C5

    oklch(80.9% 0.009 225.1)

  5. Step 400

    400

    #98A2A8

    oklch(70.6% 0.014 233.8)

  6. Step 500

    500

    #7F8C93

    oklch(63.2% 0.018 231.1)

  7. Step 600

    600

    #68767D

    oklch(55.7% 0.02 229.3)

  8. Step 700

    700

    #566369

    oklch(49.1% 0.019 227.3)

  9. Step 800

    800 (this color)

    #404A4F

    oklch(40.2% 0.015 229.3)

  10. Step 900

    900

    #3B4347

    oklch(37.7% 0.013 229.2)

  11. Step 950

    950

    #232729

    oklch(27% 0.007 229.1)

Export this scale for Tailwind in the Tailwind colors tool

#404A4F 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)#47494F0.011
Deuteranopia (no green cones)#45484F0.010
Tritanopia (no blue cones)#3C4B4C0.009
Achromatopsia (no color)#4848480.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #404A4F

    #404A4F

    oklch(40.2% 0.015 229.3)

  • #504641

    #504641

    oklch(40.3% 0.016 48.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404A4F

    #404A4F

    oklch(40.2% 0.015 229.3)

  • #3F4B4B

    #3F4B4B

    oklch(40.2% 0.015 196.6)

  • #434951

    #434951

    oklch(40.3% 0.016 255.6)

Open the analogous palette in the generator

Split complementary

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

  • #404A4F

    #404A4F

    oklch(40.2% 0.015 229.3)

  • #504545

    #504545

    oklch(40.2% 0.015 17.8)

  • #4D473F

    #4D473F

    oklch(40.1% 0.015 75.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404A4F

    #404A4F

    oklch(40.2% 0.015 229.3)

  • #4F4549

    #4F4549

    oklch(40.2% 0.015 351.7)

  • #494940

    #494940

    oklch(40.2% 0.015 107)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404A4F

    #404A4F

    oklch(40.2% 0.015 229.3)

  • #4C464E

    #4C464E

    oklch(40.3% 0.015 317.7)

  • #504641

    #504641

    oklch(40.3% 0.016 48.3)

  • #444A42

    #444A42

    oklch(40.1% 0.015 137.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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