#787CE2

Closest named color: Soft Blue (#6488EA). oklch(63% 0.151 279.4), rgb(120, 124, 226).

Aa

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

About this color

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

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

Values

HEX#787CE2
RGBrgb(120, 124, 226)
HSLhsl(238, 65%, 68%)
OKLCHoklch(63% 0.151 279.4)

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 #787CE2 3.63:1 AA large text Lc -69.2 Content text, not long reading
Black text on #787CE2 5.77:1 AA Lc 40.3 Non-text elements, placeholder text
#787CE2 text on white 3.63:1 AA large text Lc 63.8 Content text, not long reading
#787CE2 text on black 5.77:1 AA Lc -37.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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D3D7F5

    oklch(88.5% 0.041 279.5)

  4. Step 300

    300

    #B6BCF0

    oklch(80.8% 0.074 279.5)

  5. Step 400

    400

    #9198E9

    oklch(70.7% 0.118 279.1)

  6. Step 500

    500 (this color)

    #787CE2

    oklch(63% 0.151 279.4)

  7. Step 600

    600

    #6363D0

    oklch(55.6% 0.164 279.7)

  8. Step 700

    700

    #5251B4

    oklch(49% 0.153 279.6)

  9. Step 800

    800

    #434392

    oklch(42.7% 0.127 279.6)

  10. Step 900

    900

    #383974

    oklch(37.6% 0.099 279.8)

  11. Step 950

    950

    #212244

    oklch(27% 0.062 280.1)

Export this scale for Tailwind in the Tailwind colors tool

#787CE2 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)#528AE60.052
Deuteranopia (no green cones)#4A82E00.054
Tritanopia (no blue cones)#5291A40.131
Achromatopsia (no color)#8686860.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #787CE2

    #787CE2

    oklch(63% 0.151 279.4)

  • #9D8A00

    #9D8A00

    oklch(63.1% 0.131 99.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787CE2

    #787CE2

    oklch(63% 0.151 279.4)

  • #308DE0

    #308DE0

    oklch(63% 0.151 249.7)

  • #A46CCD

    #A46CCD

    oklch(62.9% 0.151 309.3)

Open the analogous palette in the generator

Split complementary

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

  • #787CE2

    #787CE2

    oklch(63% 0.151 279.4)

  • #BD7700

    #BD7700

    oklch(62.9% 0.137 69.2)

  • #6B9A26

    #6B9A26

    oklch(63% 0.151 129.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787CE2

    #787CE2

    oklch(63% 0.151 279.4)

  • #D3643C

    #D3643C

    oklch(63.1% 0.151 39.8)

  • #00A369

    #00A369

    oklch(63.1% 0.144 159.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787CE2

    #787CE2

    oklch(63% 0.151 279.4)

  • #D35C75

    #D35C75

    oklch(63% 0.151 9.5)

  • #9D8A00

    #9D8A00

    oklch(63.1% 0.131 99.5)

  • #009E97

    #009E97

    oklch(63.1% 0.109 189.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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