#787BF9

Closest named color: Cornflower (#6A79F7). oklch(64.3% 0.184 278.9), rgb(120, 123, 249).

Aa

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

About this color

#787BF9 is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.184 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.020 away. Black text reads best on it, at 5.99:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.184)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.99:1
White text3.50:1

Values

HEX#787BF9
RGBrgb(120, 123, 249)
HSLhsl(239, 91%, 72%)
OKLCHoklch(64.3% 0.184 278.9)

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 #787BF9 3.50:1 AA large text Lc -67.8 Content text, not long reading
Black text on #787BF9 5.99:1 AA Lc 41.8 Non-text elements, placeholder text
#787BF9 text on white 3.50:1 AA large text Lc 62.3 Content text, not long reading
#787BF9 text on black 5.99:1 AA Lc -39.4 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E6E9FC

    oklch(93.7% 0.026 278.7)

  3. Step 200

    200

    #D1D6FB

    oklch(88.4% 0.051 279.2)

  4. Step 300

    300

    #B3BBFA

    oklch(80.8% 0.089 278.6)

  5. Step 400

    400

    #8E95F8

    oklch(70.6% 0.144 279)

  6. Step 500

    500 (this color)

    #787BF9

    oklch(64.3% 0.184 278.9)

  7. Step 600

    600

    #605CE4

    oklch(55.6% 0.2 279)

  8. Step 700

    700

    #504BC6

    oklch(49.2% 0.185 278.9)

  9. Step 800

    800

    #413EA0

    oklch(42.7% 0.154 279)

  10. Step 900

    900

    #36367F

    oklch(37.6% 0.12 278.9)

  11. Step 950

    950

    #1F204A

    oklch(26.8% 0.076 278.9)

Export this scale for Tailwind in the Tailwind colors tool

#787BF9 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)#3A8EFD0.071
Deuteranopia (no green cones)#2A84F60.075
Tritanopia (no blue cones)#4097AE0.161
Achromatopsia (no color)#8989890.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #787BF9

    #787BF9

    oklch(64.3% 0.184 278.9)

  • #A28D00

    #A28D00

    oklch(64.3% 0.133 98.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787BF9

    #787BF9

    oklch(64.3% 0.184 278.9)

  • #0091F2

    #0091F2

    oklch(64.3% 0.176 248.8)

  • #AD67E0

    #AD67E0

    oklch(64.2% 0.184 308.8)

Open the analogous palette in the generator

Split complementary

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

  • #787BF9

    #787BF9

    oklch(64.3% 0.184 278.9)

  • #C37A00

    #C37A00

    oklch(64.2% 0.14 68.6)

  • #6C9F00

    #6C9F00

    oklch(64.2% 0.17 128.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787BF9

    #787BF9

    oklch(64.3% 0.184 278.9)

  • #E55A27

    #E55A27

    oklch(64.2% 0.184 38.9)

  • #00A76B

    #00A76B

    oklch(64.2% 0.148 159)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787BF9

    #787BF9

    oklch(64.3% 0.184 278.9)

  • #E45176

    #E45176

    oklch(64.2% 0.183 8.6)

  • #A28D00

    #A28D00

    oklch(64.3% 0.133 98.6)

  • #00A29B

    #00A29B

    oklch(64.2% 0.111 189.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #787BF9.

Similar named colors

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

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