#787EA9

Closest named color: Lavender Gray (#7E7F9A). oklch(60.5% 0.066 278.1), rgb(120, 126, 169).

Aa

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

About this color

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

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

Values

HEX#787EA9
RGBrgb(120, 126, 169)
HSLhsl(233, 22%, 57%)
OKLCHoklch(60.5% 0.066 278.1)

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 #787EA9 3.92:1 AA large text Lc -72.1 Content text, not long reading
Black text on #787EA9 5.35:1 AA Lc 37.5 Non-text elements, placeholder text
#787EA9 text on white 3.92:1 AA large text Lc 66.6 Content text, not long reading
#787EA9 text on black 5.35:1 AA Lc -35.1 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

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D6D8E5

    oklch(88.5% 0.018 279)

  4. Step 300

    300

    #BBBFD6

    oklch(80.9% 0.033 277.8)

  5. Step 400

    400

    #999EC1

    oklch(70.7% 0.051 278.6)

  6. Step 500

    500 (this color)

    #787EA9

    oklch(60.5% 0.066 278.1)

  7. Step 600

    600

    #696F9D

    oklch(55.5% 0.072 278.1)

  8. Step 700

    700

    #585D86

    oklch(49.1% 0.066 278.3)

  9. Step 800

    800

    #484C6D

    oklch(42.7% 0.055 278.5)

  10. Step 900

    900

    #3C3F58

    oklch(37.6% 0.043 278.8)

  11. Step 950

    950

    #232534

    oklch(26.9% 0.028 278.4)

Export this scale for Tailwind in the Tailwind colors tool

#787EA9 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)#7282AB0.013
Deuteranopia (no green cones)#6F7FA80.013
Tritanopia (no blue cones)#6C868D0.058
Achromatopsia (no color)#8181810.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #787EA9

    #787EA9

    oklch(60.5% 0.066 278.1)

  • #8C8254

    #8C8254

    oklch(60.4% 0.065 97.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787EA9

    #787EA9

    oklch(60.5% 0.066 278.1)

  • #6285A7

    #6285A7

    oklch(60.4% 0.065 248.2)

  • #8C77A0

    #8C77A0

    oklch(60.4% 0.066 307.8)

Open the analogous palette in the generator

Split complementary

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

  • #787EA9

    #787EA9

    oklch(60.5% 0.066 278.1)

  • #9C7A56

    #9C7A56

    oklch(60.4% 0.066 67.6)

  • #76895F

    #76895F

    oklch(60.4% 0.065 128)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787EA9

    #787EA9

    oklch(60.5% 0.066 278.1)

  • #A57465

    #A57465

    oklch(60.5% 0.066 37.7)

  • #5F8E73

    #5F8E73

    oklch(60.5% 0.066 158.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787EA9

    #787EA9

    oklch(60.5% 0.066 278.1)

  • #A4717A

    #A4717A

    oklch(60.4% 0.066 7.6)

  • #8C8254

    #8C8254

    oklch(60.4% 0.065 97.4)

  • #508F89

    #508F89

    oklch(60.6% 0.066 187.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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