#405854

Closest named color: Dark Slate Gray (#2F4F4F). oklch(44% 0.03 183.6), rgb(64, 88, 84).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (44%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.74:1
White text7.65:1

Values

HEX#405854
RGBrgb(64, 88, 84)
HSLhsl(170, 16%, 30%)
OKLCHoklch(44% 0.03 183.6)

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 #405854 7.65:1 AAA Lc -91.4 Preferred for body text
Black text on #405854 2.74:1 Fails Lc 17.4 Dividers and decoration only
#405854 text on white 7.65:1 AAA Lc 86.6 Fine for body text
#405854 text on black 2.74:1 Fails Lc -15.5 Dividers and decoration only

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

    #E6EBEA

    oklch(93.6% 0.006 183)

  3. Step 200

    200

    #D3DBDA

    oklch(88.5% 0.009 188.1)

  4. Step 300

    300

    #B5C4C2

    oklch(80.8% 0.017 187.2)

  5. Step 400

    400

    #8EA7A2

    oklch(70.8% 0.029 182)

  6. Step 500

    500

    #72918C

    oklch(63.2% 0.036 184.3)

  7. Step 600

    600

    #5A7B76

    oklch(55.6% 0.038 184.6)

  8. Step 700

    700

    #4A6863

    oklch(49.2% 0.036 183.4)

  9. Step 800

    800 (this color)

    #405854

    oklch(44% 0.03 183.6)

  10. Step 900

    900

    #344643

    oklch(37.8% 0.023 183.7)

  11. Step 950

    950

    #1F2927

    oklch(27.1% 0.014 181.6)

Export this scale for Tailwind in the Tailwind colors tool

#405854 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)#5655540.033
Deuteranopia (no green cones)#5152540.030
Tritanopia (no blue cones)#3959570.009
Achromatopsia (no color)#5353530.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #405854

    #405854

    oklch(44% 0.03 183.6)

  • #614C51

    #614C51

    oklch(44% 0.029 2.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405854

    #405854

    oklch(44% 0.03 183.6)

  • #46574B

    #46574B

    oklch(43.8% 0.029 154.3)

  • #3F575C

    #3F575C

    oklch(43.9% 0.03 211.9)

Open the analogous palette in the generator

Split complementary

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

  • #405854

    #405854

    oklch(44% 0.03 183.6)

  • #5D4C59

    #5D4C59

    oklch(43.8% 0.03 334.4)

  • #624D48

    #624D48

    oklch(44% 0.03 33.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405854

    #405854

    oklch(44% 0.03 183.6)

  • #564F60

    #564F60

    oklch(44.1% 0.029 303.9)

  • #5E4F41

    #5E4F41

    oklch(43.9% 0.03 65)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405854

    #405854

    oklch(44% 0.03 183.6)

  • #4D5263

    #4D5263

    oklch(44.1% 0.029 272.3)

  • #614C51

    #614C51

    oklch(44% 0.029 2.5)

  • #585240

    #585240

    oklch(43.9% 0.029 91.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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