#787DB0

Closest named color: Lavender Gray (#7E7F9A). oklch(60.6% 0.078 279.5), rgb(120, 125, 176).

Aa

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

About this color

#787DB0 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.078 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.037 away. Black text reads best on it, at 5.35:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.35:1
White text3.91:1

Values

HEX#787DB0
RGBrgb(120, 125, 176)
HSLhsl(235, 26%, 58%)
OKLCHoklch(60.6% 0.078 279.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 #787DB0 3.91:1 AA large text Lc -72.1 Content text, not long reading
Black text on #787DB0 5.35:1 AA Lc 37.5 Non-text elements, placeholder text
#787DB0 text on white 3.91:1 AA large text Lc 66.6 Content text, not long reading
#787DB0 text on black 5.35:1 AA Lc -35.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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D6D8E7

    oklch(88.5% 0.021 279.9)

  4. Step 300

    300

    #BBBFD9

    oklch(81% 0.037 278.6)

  5. Step 400

    400

    #989DC7

    oklch(70.7% 0.062 279.4)

  6. Step 500

    500 (this color)

    #787DB0

    oklch(60.6% 0.078 279.5)

  7. Step 600

    600

    #696EA4

    oklch(55.6% 0.084 279.2)

  8. Step 700

    700

    #585C8D

    oklch(49.3% 0.078 279.5)

  9. Step 800

    800

    #484B72

    oklch(42.7% 0.065 279.9)

  10. Step 900

    900

    #3C3F5C

    oklch(37.8% 0.05 279.2)

  11. Step 950

    950

    #232536

    oklch(27% 0.032 278.9)

Export this scale for Tailwind in the Tailwind colors tool

#787DB0 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)#6E83B20.020
Deuteranopia (no green cones)#6B7FAF0.018
Tritanopia (no blue cones)#69868F0.068
Achromatopsia (no color)#8181810.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #787DB0

    #787DB0

    oklch(60.6% 0.078 279.5)

  • #8D834A

    #8D834A

    oklch(60.6% 0.078 99.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787DB0

    #787DB0

    oklch(60.6% 0.078 279.5)

  • #5D86AF

    #5D86AF

    oklch(60.6% 0.078 249.2)

  • #9075A5

    #9075A5

    oklch(60.6% 0.077 309.8)

Open the analogous palette in the generator

Split complementary

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

  • #787DB0

    #787DB0

    oklch(60.6% 0.078 279.5)

  • #A07A4D

    #A07A4D

    oklch(60.6% 0.077 70.2)

  • #738B59

    #738B59

    oklch(60.5% 0.077 129.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787DB0

    #787DB0

    oklch(60.6% 0.078 279.5)

  • #AA725F

    #AA725F

    oklch(60.6% 0.077 39.5)

  • #579071

    #579071

    oklch(60.5% 0.077 159.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787DB0

    #787DB0

    oklch(60.6% 0.078 279.5)

  • #AB6E78

    #AB6E78

    oklch(60.6% 0.079 9)

  • #8D834A

    #8D834A

    oklch(60.6% 0.078 99.6)

  • #42918C

    #42918C

    oklch(60.6% 0.078 189.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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