#405045

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.4% 0.027 155), rgb(64, 80, 69).

Aa

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

About this color

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

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

Values

HEX#405045
RGBrgb(64, 80, 69)
HSLhsl(139, 11%, 28%)
OKLCHoklch(41.4% 0.027 155)

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 #405045 8.56:1 AAA Lc -94.0 Preferred for body text
Black text on #405045 2.45:1 Fails Lc 14.5 Not readable
#405045 text on white 8.56:1 AAA Lc 89.5 Fine for body text
#405045 text on black 2.45:1 Fails Lc -12.8 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

    #E7EBE8

    oklch(93.6% 0.006 153.8)

  3. Step 200

    200

    #D5DBD6

    oklch(88.5% 0.009 150.7)

  4. Step 300

    300

    #B9C4BC

    oklch(80.9% 0.016 154.4)

  5. Step 400

    400

    #95A69A

    oklch(70.8% 0.026 154.9)

  6. Step 500

    500

    #7B9081

    oklch(63.2% 0.033 154.3)

  7. Step 600

    600

    #637A6A

    oklch(55.6% 0.036 154.7)

  8. Step 700

    700

    #526659

    oklch(49% 0.032 156.5)

  9. Step 800

    800 (this color)

    #405045

    oklch(41.4% 0.027 155)

  10. Step 900

    900

    #39453D

    oklch(37.7% 0.021 156.1)

  11. Step 950

    950

    #212824

    oklch(26.8% 0.012 160.4)

Export this scale for Tailwind in the Tailwind colors tool

#405045 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)#504D440.025
Deuteranopia (no green cones)#4D4B460.025
Tritanopia (no blue cones)#3E504D0.013
Achromatopsia (no color)#4C4C4C0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #405045

    #405045

    oklch(41.4% 0.027 155)

  • #554651

    #554651

    oklch(41.4% 0.027 335.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405045

    #405045

    oklch(41.4% 0.027 155)

  • #484E3E

    #484E3E

    oklch(41.3% 0.027 124.3)

  • #3B504D

    #3B504D

    oklch(41.3% 0.026 185.4)

Open the analogous palette in the generator

Split complementary

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

  • #405045

    #405045

    oklch(41.4% 0.027 155)

  • #4F4858

    #4F4858

    oklch(41.5% 0.028 305)

  • #594549

    #594549

    oklch(41.3% 0.028 5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405045

    #405045

    oklch(41.4% 0.027 155)

  • #474B5B

    #474B5B

    oklch(41.5% 0.027 274.1)

  • #594642

    #594642

    oklch(41.3% 0.027 32)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405045

    #405045

    oklch(41.4% 0.027 155)

  • #3F4D59

    #3F4D59

    oklch(41.3% 0.027 244.4)

  • #554651

    #554651

    oklch(41.4% 0.027 335.6)

  • #56493C

    #56493C

    oklch(41.5% 0.027 67)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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