#787F9F

Closest named color: Lavender Gray (#7E7F9A). oklch(60.2% 0.049 275.2), rgb(120, 127, 159).

Aa

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

About this color

#787F9F is a medium-dark, muted blue. In OKLCH its lightness is 60%, its chroma 0.049 and its hue 275°. 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.33:1.

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

Values

HEX#787F9F
RGBrgb(120, 127, 159)
HSLhsl(229, 17%, 55%)
OKLCHoklch(60.2% 0.049 275.2)

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 #787F9F 3.93:1 AA large text Lc -72.3 Content text, not long reading
Black text on #787F9F 5.33:1 AA Lc 37.3 Non-text elements, placeholder text
#787F9F text on white 3.93:1 AA large text Lc 66.8 Content text, not long reading
#787F9F text on black 5.33:1 AA Lc -34.9 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

    #E8E9EF

    oklch(93.5% 0.008 278.6)

  3. Step 200

    200

    #D6D9E2

    oklch(88.6% 0.013 271.3)

  4. Step 300

    300

    #BCC0D1

    oklch(81% 0.024 275.3)

  5. Step 400

    400

    #999FB9

    oklch(70.6% 0.039 275.1)

  6. Step 500

    500 (this color)

    #787F9F

    oklch(60.2% 0.049 275.2)

  7. Step 600

    600

    #6A7193

    oklch(55.6% 0.054 275.5)

  8. Step 700

    700

    #585F7D

    oklch(49.1% 0.049 274.3)

  9. Step 800

    800

    #484D66

    oklch(42.6% 0.042 275.7)

  10. Step 900

    900

    #3C4053

    oklch(37.6% 0.033 275.4)

  11. Step 950

    950

    #232631

    oklch(27% 0.021 273)

Export this scale for Tailwind in the Tailwind colors tool

#787F9F 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)#7682A00.008
Deuteranopia (no green cones)#737F9E0.007
Tritanopia (no blue cones)#6F858A0.044
Achromatopsia (no color)#8080800.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #787F9F

    #787F9F

    oklch(60.2% 0.049 275.2)

  • #8A815F

    #8A815F

    oklch(60.2% 0.05 95)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787F9F

    #787F9F

    oklch(60.2% 0.049 275.2)

  • #68849D

    #68849D

    oklch(60.1% 0.05 245.7)

  • #887A99

    #887A99

    oklch(60.3% 0.049 305.5)

Open the analogous palette in the generator

Split complementary

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

  • #787F9F

    #787F9F

    oklch(60.2% 0.049 275.2)

  • #967B62

    #967B62

    oklch(60.2% 0.049 64.5)

  • #7A8666

    #7A8666

    oklch(60.1% 0.049 124.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787F9F

    #787F9F

    oklch(60.2% 0.049 275.2)

  • #9C776D

    #9C776D

    oklch(60.3% 0.049 35.6)

  • #6A8A74

    #6A8A74

    oklch(60.2% 0.049 154.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787F9F

    #787F9F

    oklch(60.2% 0.049 275.2)

  • #9B757D

    #9B757D

    oklch(60.2% 0.049 4.6)

  • #8A815F

    #8A815F

    oklch(60.2% 0.05 95)

  • #5F8B85

    #5F8B85

    oklch(60.3% 0.049 185.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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