#787FAC

Closest named color: Lavender Gray (#7E7F9A). oklch(60.8% 0.069 277.3), rgb(120, 127, 172).

Aa

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

About this color

#787FAC is a medium-dark, muted blue. In OKLCH its lightness is 61%, its chroma 0.069 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.029 away. Black text reads best on it, at 5.43:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromamuted (0.069)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.43:1
White text3.86:1

Values

HEX#787FAC
RGBrgb(120, 127, 172)
HSLhsl(232, 24%, 57%)
OKLCHoklch(60.8% 0.069 277.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 #787FAC 3.86:1 AA large text Lc -71.6 Content text, not long reading
Black text on #787FAC 5.43:1 AA Lc 38.0 Non-text elements, placeholder text
#787FAC text on white 3.86:1 AA large text Lc 66.1 Content text, not long reading
#787FAC text on black 5.43:1 AA Lc -35.5 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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  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)

    #787FAC

    oklch(60.8% 0.069 277.3)

  7. Step 600

    600

    #686F9F

    oklch(55.5% 0.075 277.3)

  8. Step 700

    700

    #575D88

    oklch(49.1% 0.069 277.4)

  9. Step 800

    800

    #474C6F

    oklch(42.7% 0.058 277.4)

  10. Step 900

    900

    #3B3F59

    oklch(37.5% 0.045 277.3)

  11. Step 950

    950

    #232534

    oklch(26.9% 0.028 278.4)

Export this scale for Tailwind in the Tailwind colors tool

#787FAC 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)#7284AE0.015
Deuteranopia (no green cones)#6F80AB0.013
Tritanopia (no blue cones)#6B878F0.060
Achromatopsia (no color)#8282820.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #787FAC

    #787FAC

    oklch(60.8% 0.069 277.3)

  • #8E8352

    #8E8352

    oklch(60.8% 0.069 97.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787FAC

    #787FAC

    oklch(60.8% 0.069 277.3)

  • #6187AA

    #6187AA

    oklch(60.9% 0.068 246.9)

  • #8E78A3

    #8E78A3

    oklch(60.9% 0.069 307.7)

Open the analogous palette in the generator

Split complementary

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

  • #787FAC

    #787FAC

    oklch(60.8% 0.069 277.3)

  • #9F7B55

    #9F7B55

    oklch(60.9% 0.069 67.4)

  • #778B5D

    #778B5D

    oklch(60.9% 0.07 127.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787FAC

    #787FAC

    oklch(60.8% 0.069 277.3)

  • #A77465

    #A77465

    oklch(60.7% 0.069 37.1)

  • #5F8F72

    #5F8F72

    oklch(60.7% 0.068 157.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787FAC

    #787FAC

    oklch(60.8% 0.069 277.3)

  • #A7717B

    #A7717B

    oklch(60.7% 0.07 7.2)

  • #8E8352

    #8E8352

    oklch(60.8% 0.069 97.1)

  • #4E908A

    #4E908A

    oklch(60.8% 0.068 187.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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