#787EC6

Closest named color: Faded Blue (#658CBB). oklch(61.9% 0.109 279.1), rgb(120, 126, 198).

Aa

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

About this color

#787EC6 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.109 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Faded Blue (#658CBB), ΔE 0.050 away. Black text reads best on it, at 5.59:1.

Hue familyBlues
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.109)
Temperaturecool
Nearest nameFaded Blue (#658CBB)
Black text5.59:1
White text3.75:1

Values

HEX#787EC6
RGBrgb(120, 126, 198)
HSLhsl(235, 41%, 62%)
OKLCHoklch(61.9% 0.109 279.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 #787EC6 3.75:1 AA large text Lc -70.5 Content text, not long reading
Black text on #787EC6 5.59:1 AA Lc 39.1 Non-text elements, placeholder text
#787EC6 text on white 3.75:1 AA large text Lc 65.0 Content text, not long reading
#787EC6 text on black 5.59:1 AA Lc -36.7 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F4

    oklch(93.6% 0.015 277.8)

  3. Step 200

    200

    #D4D8ED

    oklch(88.6% 0.029 277.2)

  4. Step 300

    300

    #B9BEE3

    oklch(81% 0.052 279.1)

  5. Step 400

    400

    #959BD5

    oklch(70.6% 0.085 279.4)

  6. Step 500

    500 (this color)

    #787EC6

    oklch(61.9% 0.109 279.1)

  7. Step 600

    600

    #656AB7

    oklch(55.5% 0.119 279)

  8. Step 700

    700

    #54589D

    oklch(49% 0.109 279)

  9. Step 800

    800

    #454880

    oklch(42.7% 0.092 279.4)

  10. Step 900

    900

    #3A3D66

    oklch(37.7% 0.07 279.3)

  11. Step 950

    950

    #22243C

    oklch(27.1% 0.045 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#787EC6 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)#6687C90.031
Deuteranopia (no green cones)#6181C40.030
Tritanopia (no blue cones)#618C990.095
Achromatopsia (no color)#8484840.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #787EC6

    #787EC6

    oklch(61.9% 0.109 279.1)

  • #96862E

    #96862E

    oklch(61.8% 0.108 98.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787EC6

    #787EC6

    oklch(61.9% 0.109 279.1)

  • #4E8AC4

    #4E8AC4

    oklch(61.8% 0.108 249.2)

  • #9973B7

    #9973B7

    oklch(61.9% 0.108 309.2)

Open the analogous palette in the generator

Split complementary

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

  • #787EC6

    #787EC6

    oklch(61.9% 0.109 279.1)

  • #B07934

    #B07934

    oklch(62% 0.109 69.3)

  • #719248

    #719248

    oklch(61.8% 0.108 129)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787EC6

    #787EC6

    oklch(61.9% 0.109 279.1)

  • #BD6D53

    #BD6D53

    oklch(61.8% 0.109 38.7)

  • #41996E

    #41996E

    oklch(61.7% 0.108 159.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787EC6

    #787EC6

    oklch(61.9% 0.109 279.1)

  • #BD6878

    #BD6878

    oklch(61.8% 0.11 8.8)

  • #96862E

    #96862E

    oklch(61.8% 0.108 98.8)

  • #009A93

    #009A93

    oklch(61.9% 0.107 189.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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