#787F9D

Closest named color: Lavender Gray (#7E7F9A). oklch(60.2% 0.046 274.6), rgb(120, 127, 157).

Aa

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

About this color

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

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

Values

HEX#787F9D
RGBrgb(120, 127, 157)
HSLhsl(229, 16%, 54%)
OKLCHoklch(60.2% 0.046 274.6)

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 #787F9D 3.94:1 AA large text Lc -72.4 Content text, not long reading
Black text on #787F9D 5.32:1 AA Lc 37.2 Non-text elements, placeholder text
#787F9D text on white 3.94:1 AA large text Lc 66.9 Content text, not long reading
#787F9D text on black 5.32:1 AA Lc -34.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 500.

  1. Step 50

    50

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E8EAEE

    oklch(93.7% 0.006 264.5)

  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

    #999FB8

    oklch(70.6% 0.037 274.8)

  6. Step 500

    500 (this color)

    #787F9D

    oklch(60.2% 0.046 274.6)

  7. Step 600

    600

    #6A7191

    oklch(55.5% 0.05 275)

  8. Step 700

    700

    #585F7C

    oklch(49.1% 0.047 274)

  9. Step 800

    800

    #484E65

    oklch(42.8% 0.039 273.3)

  10. Step 900

    900

    #3D4152

    oklch(37.9% 0.03 274.6)

  11. Step 950

    950

    #232630

    oklch(27% 0.019 272)

Export this scale for Tailwind in the Tailwind colors tool

#787F9D 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)#77829E0.008
Deuteranopia (no green cones)#747F9C0.006
Tritanopia (no blue cones)#6F84890.041
Achromatopsia (no color)#8080800.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #787F9D

    #787F9D

    oklch(60.2% 0.046 274.6)

  • #898161

    #898161

    oklch(60.2% 0.047 95.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787F9D

    #787F9D

    oklch(60.2% 0.046 274.6)

  • #6A849B

    #6A849B

    oklch(60.2% 0.046 245.4)

  • #877A98

    #877A98

    oklch(60.2% 0.047 304.7)

Open the analogous palette in the generator

Split complementary

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

  • #787F9D

    #787F9D

    oklch(60.2% 0.046 274.6)

  • #957B64

    #957B64

    oklch(60.1% 0.046 63.3)

  • #7A8667

    #7A8667

    oklch(60.2% 0.047 125)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787F9D

    #787F9D

    oklch(60.2% 0.046 274.6)

  • #9A776E

    #9A776E

    oklch(60.1% 0.046 34.8)

  • #6B8974

    #6B8974

    oklch(60.1% 0.047 154.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787F9D

    #787F9D

    oklch(60.2% 0.046 274.6)

  • #9A757D

    #9A757D

    oklch(60.1% 0.048 4.2)

  • #898161

    #898161

    oklch(60.2% 0.047 95.7)

  • #618A84

    #618A84

    oklch(60.1% 0.046 184.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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