#787E8D

Closest named color: Slate Gray (#708090). oklch(59.3% 0.024 268.3), rgb(120, 126, 141).

Aa

Black text reads best on this color (5.16:1).

About this color

#787E8D is a medium-dark close to neutral grey. In OKLCH its lightness is 59%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Slate Gray (#708090), ΔE 0.012 away. Black text reads best on it, at 5.16:1.

Hue familyNeutrals
Lightnessmedium-dark (59%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameSlate Gray (#708090)
Black text5.16:1
White text4.06:1

Values

HEX#787E8D
RGBrgb(120, 126, 141)
HSLhsl(223, 8%, 51%)
OKLCHoklch(59.3% 0.024 268.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 #787E8D 4.06:1 AA large text Lc -73.4 Content text, not long reading
Black text on #787E8D 5.16:1 AA Lc 36.2 Non-text elements, placeholder text
#787E8D text on white 4.06:1 AA large text Lc 67.9 Content text, not long reading
#787E8D text on black 5.16:1 AA Lc -33.8 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F5F5F6

    oklch(97% 0.001 286.4)

  2. Step 100

    100

    #E9EAEC

    oklch(93.7% 0.003 264.5)

  3. Step 200

    200

    #D7D9DD

    oklch(88.5% 0.006 264.5)

  4. Step 300

    300

    #BDC0C8

    oklch(80.8% 0.012 269.5)

  5. Step 400

    400

    #9CA0AC

    oklch(70.6% 0.018 271.2)

  6. Step 500

    500

    #848997

    oklch(63.1% 0.022 270.1)

  7. Step 600

    600 (this color)

    #787E8D

    oklch(59.3% 0.024 268.3)

  8. Step 700

    700

    #5B616E

    oklch(49.2% 0.022 265.8)

  9. Step 800

    800

    #4B4F59

    oklch(42.8% 0.017 268.3)

  10. Step 900

    900

    #3E4149

    oklch(37.6% 0.014 269.3)

  11. Step 950

    950

    #24262B

    oklch(26.9% 0.01 268.3)

Export this scale for Tailwind in the Tailwind colors tool

#787E8D 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)#7A7F8E0.004
Deuteranopia (no green cones)#787D8D0.003
Tritanopia (no blue cones)#7381830.022
Achromatopsia (no color)#7E7E7E0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #787E8D

    #787E8D

    oklch(59.3% 0.024 268.3)

  • #847E6E

    #847E6E

    oklch(59.4% 0.025 89.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787E8D

    #787E8D

    oklch(59.3% 0.024 268.3)

  • #72818B

    #72818B

    oklch(59.4% 0.023 237)

  • #807B8B

    #807B8B

    oklch(59.3% 0.025 299.9)

Open the analogous palette in the generator

Split complementary

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

  • #787E8D

    #787E8D

    oklch(59.3% 0.024 268.3)

  • #8A7B70

    #8A7B70

    oklch(59.3% 0.025 58.5)

  • #7D8071

    #7D8071

    oklch(59.3% 0.023 116.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787E8D

    #787E8D

    oklch(59.3% 0.024 268.3)

  • #8C7976

    #8C7976

    oklch(59.3% 0.024 28.5)

  • #758276

    #758276

    oklch(59.2% 0.024 147.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787E8D

    #787E8D

    oklch(59.3% 0.024 268.3)

  • #8B797E

    #8B797E

    oklch(59.4% 0.023 359.2)

  • #847E6E

    #847E6E

    oklch(59.4% 0.025 89.9)

  • #70837E

    #70837E

    oklch(59.3% 0.023 177.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #787E8D 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.