#51404A

Closest named color: Charcoal Grey (#3C4142). oklch(39.3% 0.028 342.4), rgb(81, 64, 74).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (39%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text2.18:1
White text9.62:1

Values

HEX#51404A
RGBrgb(81, 64, 74)
HSLhsl(325, 12%, 28%)
OKLCHoklch(39.3% 0.028 342.4)

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 #51404A 9.62:1 AAA Lc -96.5 Preferred for body text
Black text on #51404A 2.18:1 Fails Lc 11.7 Not readable
#51404A text on white 9.62:1 AAA Lc 92.3 Preferred for body text
#51404A text on black 2.18:1 Fails Lc -10.1 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

    #F7F5F6

    oklch(97.2% 0.002 345.2)

  2. Step 100

    100

    #EDE8EB

    oklch(93.6% 0.007 340.4)

  3. Step 200

    200

    #DFD6DB

    oklch(88.5% 0.012 342.7)

  4. Step 300

    300

    #CBBBC4

    oklch(80.8% 0.022 342.6)

  5. Step 400

    400

    #B099A6

    oklch(70.7% 0.033 342.9)

  6. Step 500

    500

    #9D7F91

    oklch(63% 0.045 341.8)

  7. Step 600

    600

    #87697B

    oklch(55.6% 0.046 342)

  8. Step 700

    700

    #735768

    oklch(49.1% 0.045 341.8)

  9. Step 800

    800

    #5D4754

    oklch(42.6% 0.036 342.5)

  10. Step 900

    900 (this color)

    #51404A

    oklch(39.3% 0.028 342.4)

  11. Step 950

    950

    #2D2329

    oklch(27% 0.018 341.7)

Export this scale for Tailwind in the Tailwind colors tool

#51404A 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)#41434A0.028
Deuteranopia (no green cones)#45464A0.026
Tritanopia (no blue cones)#5340430.012
Achromatopsia (no color)#4545450.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #51404A

    #51404A

    oklch(39.3% 0.028 342.4)

  • #384B41

    #384B41

    oklch(39.3% 0.029 161.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51404A

    #51404A

    oklch(39.3% 0.028 342.4)

  • #4B4251

    #4B4251

    oklch(39.4% 0.027 311.8)

  • #544042

    #544042

    oklch(39.4% 0.028 11.7)

Open the analogous palette in the generator

Split complementary

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

  • #51404A

    #51404A

    oklch(39.3% 0.028 342.4)

  • #40493A

    #40493A

    oklch(39.2% 0.027 132.9)

  • #344B4A

    #344B4A

    oklch(39.4% 0.028 192.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51404A

    #51404A

    oklch(39.3% 0.028 342.4)

  • #494735

    #494735

    oklch(39.4% 0.029 102.3)

  • #354951

    #354951

    oklch(39.2% 0.028 224.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51404A

    #51404A

    oklch(39.3% 0.028 342.4)

  • #4F4435

    #4F4435

    oklch(39.3% 0.028 75.4)

  • #384B41

    #384B41

    oklch(39.3% 0.029 161.7)

  • #3B4755

    #3B4755

    oklch(39.3% 0.028 252.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51404A 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.