#787FD3

Closest named color: Soft Blue (#6488EA). oklch(62.8% 0.126 278.5), rgb(120, 127, 211).

Aa

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

About this color

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

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

Values

HEX#787FD3
RGBrgb(120, 127, 211)
HSLhsl(235, 51%, 65%)
OKLCHoklch(62.8% 0.126 278.5)

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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D3D7F0

    oklch(88.4% 0.035 278.4)

  4. Step 300

    300

    #B7BDE9

    oklch(80.8% 0.062 278.8)

  5. Step 400

    400

    #939ADE

    oklch(70.7% 0.1 279)

  6. Step 500

    500 (this color)

    #787FD3

    oklch(62.8% 0.126 278.5)

  7. Step 600

    600

    #6368C1

    oklch(55.6% 0.136 278.6)

  8. Step 700

    700

    #5256A7

    oklch(49.1% 0.127 278.5)

  9. Step 800

    800

    #434787

    oklch(42.7% 0.105 278.3)

  10. Step 900

    900

    #383C6C

    oklch(37.7% 0.082 278.1)

  11. Step 950

    950

    #21233F

    oklch(26.9% 0.052 279.2)

Export this scale for Tailwind in the Tailwind colors tool

#787FD3 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)#618AD60.037
Deuteranopia (no green cones)#5A83D10.038
Tritanopia (no blue cones)#5A909F0.110
Achromatopsia (no color)#8686860.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #787FD3

    #787FD3

    oklch(62.8% 0.126 278.5)

  • #9C8811

    #9C8811

    oklch(62.6% 0.125 98.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787FD3

    #787FD3

    oklch(62.8% 0.126 278.5)

  • #438DD1

    #438DD1

    oklch(62.7% 0.127 248.8)

  • #9E72C2

    #9E72C2

    oklch(62.8% 0.125 308.5)

Open the analogous palette in the generator

Split complementary

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

  • #787FD3

    #787FD3

    oklch(62.8% 0.126 278.5)

  • #B97820

    #B97820

    oklch(62.7% 0.126 68.5)

  • #71973D

    #71973D

    oklch(62.8% 0.127 128.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787FD3

    #787FD3

    oklch(62.8% 0.126 278.5)

  • #C86B4D

    #C86B4D

    oklch(62.9% 0.126 38.6)

  • #329F6B

    #329F6B

    oklch(62.8% 0.126 158.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787FD3

    #787FD3

    oklch(62.8% 0.126 278.5)

  • #C76579

    #C76579

    oklch(62.7% 0.126 8.5)

  • #9C8811

    #9C8811

    oklch(62.6% 0.125 98.4)

  • #009D95

    #009D95

    oklch(62.7% 0.109 188.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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