#787FE5

Closest named color: Soft Blue (#6488EA). oklch(63.8% 0.151 278.2), rgb(120, 127, 229).

Aa

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

About this color

#787FE5 is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.151 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.031 away. Black text reads best on it, at 5.96:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.151)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text5.96:1
White text3.52:1

Values

HEX#787FE5
RGBrgb(120, 127, 229)
HSLhsl(236, 68%, 68%)
OKLCHoklch(63.8% 0.151 278.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 #787FE5 3.52:1 AA large text Lc -68.1 Content text, not long reading
Black text on #787FE5 5.96:1 AA Lc 41.5 Non-text elements, placeholder text
#787FE5 text on white 3.52:1 AA large text Lc 62.6 Content text, not long reading
#787FE5 text on black 5.96:1 AA Lc -39.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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D2D7F5

    oklch(88.5% 0.042 278)

  4. Step 300

    300

    #B5BDF1

    oklch(81% 0.074 277.8)

  5. Step 400

    400

    #9098E9

    oklch(70.6% 0.118 278.6)

  6. Step 500

    500 (this color)

    #787FE5

    oklch(63.8% 0.151 278.2)

  7. Step 600

    600

    #6064D1

    oklch(55.7% 0.165 278)

  8. Step 700

    700

    #5052B5

    oklch(49.1% 0.153 278.3)

  9. Step 800

    800

    #414492

    oklch(42.7% 0.126 278)

  10. Step 900

    900

    #373A75

    oklch(37.8% 0.099 278.3)

  11. Step 950

    950

    #202244

    oklch(26.9% 0.063 278.8)

Export this scale for Tailwind in the Tailwind colors tool

#787FE5 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)#558DE90.049
Deuteranopia (no green cones)#4C84E30.051
Tritanopia (no blue cones)#5095A70.133
Achromatopsia (no color)#8989890.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #787FE5

    #787FE5

    oklch(63.8% 0.151 278.2)

  • #A18B00

    #A18B00

    oklch(63.7% 0.132 97.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787FE5

    #787FE5

    oklch(63.8% 0.151 278.2)

  • #2E90E2

    #2E90E2

    oklch(63.7% 0.152 248.5)

  • #A56FD1

    #A56FD1

    oklch(63.8% 0.151 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #787FE5

    #787FE5

    oklch(63.8% 0.151 278.2)

  • #C27900

    #C27900

    oklch(63.9% 0.14 68.4)

  • #709C25

    #709C25

    oklch(63.8% 0.152 128.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787FE5

    #787FE5

    oklch(63.8% 0.151 278.2)

  • #D66541

    #D66541

    oklch(63.7% 0.151 38.2)

  • #00A668

    #00A668

    oklch(63.9% 0.149 158.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787FE5

    #787FE5

    oklch(63.8% 0.151 278.2)

  • #D55E79

    #D55E79

    oklch(63.7% 0.151 8.3)

  • #A18B00

    #A18B00

    oklch(63.7% 0.132 97.9)

  • #00A198

    #00A198

    oklch(63.9% 0.111 187.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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