#787E9D

Closest named color: Lavender Gray (#7E7F9A). oklch(59.9% 0.048 276.3), rgb(120, 126, 157).

Aa

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

About this color

#787E9D is a medium-dark, muted blue. In OKLCH its lightness is 60%, its chroma 0.048 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.011 away. Black text reads best on it, at 5.26:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamuted (0.048)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.26:1
White text3.98:1

Values

HEX#787E9D
RGBrgb(120, 126, 157)
HSLhsl(230, 16%, 54%)
OKLCHoklch(59.9% 0.048 276.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 #787E9D 3.98:1 AA large text Lc -72.7 Content text, not long reading
Black text on #787E9D 5.26:1 AA Lc 36.9 Non-text elements, placeholder text
#787E9D text on white 3.98:1 AA large text Lc 67.2 Content text, not long reading
#787E9D text on black 5.26:1 AA Lc -34.5 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 500.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9EE

    oklch(93.5% 0.007 277.2)

  3. Step 200

    200

    #D6D9E2

    oklch(88.6% 0.013 271.3)

  4. Step 300

    300

    #BCC0D0

    oklch(81% 0.023 274.7)

  5. Step 400

    400

    #9A9FB8

    oklch(70.7% 0.037 276.5)

  6. Step 500

    500 (this color)

    #787E9D

    oklch(59.9% 0.048 276.3)

  7. Step 600

    600

    #6B7192

    oklch(55.6% 0.052 276.6)

  8. Step 700

    700

    #595F7C

    oklch(49.2% 0.047 275.4)

  9. Step 800

    800

    #494D65

    oklch(42.6% 0.04 277.2)

  10. Step 900

    900

    #3D4052

    oklch(37.6% 0.031 277.4)

  11. Step 950

    950

    #242630

    oklch(27.1% 0.019 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#787E9D 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)#75819E0.009
Deuteranopia (no green cones)#737E9C0.007
Tritanopia (no blue cones)#6F84880.044
Achromatopsia (no color)#7F7F7F0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #787E9D

    #787E9D

    oklch(59.9% 0.048 276.3)

  • #888060

    #888060

    oklch(59.8% 0.047 95.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787E9D

    #787E9D

    oklch(59.9% 0.048 276.3)

  • #69839B

    #69839B

    oklch(59.9% 0.047 246.5)

  • #877997

    #877997

    oklch(59.9% 0.048 306.1)

Open the analogous palette in the generator

Split complementary

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

  • #787E9D

    #787E9D

    oklch(59.9% 0.048 276.3)

  • #947B62

    #947B62

    oklch(60% 0.048 66.7)

  • #798667

    #798667

    oklch(60.1% 0.048 126.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787E9D

    #787E9D

    oklch(59.9% 0.048 276.3)

  • #9A766C

    #9A766C

    oklch(59.8% 0.048 36.1)

  • #698974

    #698974

    oklch(59.9% 0.048 155.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787E9D

    #787E9D

    oklch(59.9% 0.048 276.3)

  • #9A747B

    #9A747B

    oklch(59.9% 0.049 6.4)

  • #888060

    #888060

    oklch(59.8% 0.047 95.7)

  • #5F8A84

    #5F8A84

    oklch(60% 0.048 185.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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