#787EAC

Closest named color: Lavender Gray (#7E7F9A). oklch(60.6% 0.07 278.3), rgb(120, 126, 172).

Aa

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

About this color

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

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

Values

HEX#787EAC
RGBrgb(120, 126, 172)
HSLhsl(233, 24%, 57%)
OKLCHoklch(60.6% 0.07 278.3)

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 #787EAC 3.90:1 AA large text Lc -72.0 Content text, not long reading
Black text on #787EAC 5.37:1 AA Lc 37.6 Non-text elements, placeholder text
#787EAC text on white 3.90:1 AA large text Lc 66.5 Content text, not long reading
#787EAC text on black 5.37:1 AA Lc -35.2 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

    #D6D8E6

    oklch(88.5% 0.019 279.5)

  4. Step 300

    300

    #BBBFD7

    oklch(80.9% 0.034 278.1)

  5. Step 400

    400

    #989EC3

    oklch(70.7% 0.054 277.7)

  6. Step 500

    500 (this color)

    #787EAC

    oklch(60.6% 0.07 278.3)

  7. Step 600

    600

    #696FA0

    oklch(55.7% 0.076 278.2)

  8. Step 700

    700

    #575D89

    oklch(49.2% 0.071 277.5)

  9. Step 800

    800

    #474C6F

    oklch(42.7% 0.058 277.4)

  10. Step 900

    900

    #3C3F5A

    oklch(37.7% 0.046 279)

  11. Step 950

    950

    #232535

    oklch(27% 0.03 278.7)

Export this scale for Tailwind in the Tailwind colors tool

#787EAC 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)#7183AE0.015
Deuteranopia (no green cones)#6E7FAB0.014
Tritanopia (no blue cones)#6B878E0.063
Achromatopsia (no color)#8181810.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #787EAC

    #787EAC

    oklch(60.6% 0.07 278.3)

  • #8D8350

    #8D8350

    oklch(60.7% 0.071 98.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787EAC

    #787EAC

    oklch(60.6% 0.07 278.3)

  • #6086AA

    #6086AA

    oklch(60.6% 0.07 247.7)

  • #8E77A3

    #8E77A3

    oklch(60.7% 0.07 308.2)

Open the analogous palette in the generator

Split complementary

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

  • #787EAC

    #787EAC

    oklch(60.6% 0.07 278.3)

  • #9E7A53

    #9E7A53

    oklch(60.5% 0.07 68.1)

  • #758A5D

    #758A5D

    oklch(60.5% 0.069 128.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787EAC

    #787EAC

    oklch(60.6% 0.07 278.3)

  • #A77363

    #A77363

    oklch(60.5% 0.071 37.8)

  • #5D8F72

    #5D8F72

    oklch(60.6% 0.07 158)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787EAC

    #787EAC

    oklch(60.6% 0.07 278.3)

  • #A7707A

    #A7707A

    oklch(60.5% 0.071 7.5)

  • #8D8350

    #8D8350

    oklch(60.7% 0.071 98.5)

  • #4B908A

    #4B908A

    oklch(60.6% 0.071 188.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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