#787CA4

Closest named color: Lavender Gray (#7E7F9A). oklch(59.8% 0.061 279.9), rgb(120, 124, 164).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamuted (0.061)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.21:1
White text4.02:1

Values

HEX#787CA4
RGBrgb(120, 124, 164)
HSLhsl(235, 19%, 56%)
OKLCHoklch(59.8% 0.061 279.9)

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 #787CA4 4.02:1 AA large text Lc -73.0 Content text, not long reading
Black text on #787CA4 5.21:1 AA Lc 36.6 Non-text elements, placeholder text
#787CA4 text on white 4.02:1 AA large text Lc 67.5 Content text, not long reading
#787CA4 text on black 5.21:1 AA Lc -34.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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D7D8E4

    oklch(88.5% 0.016 282.2)

  4. Step 300

    300

    #BCBFD4

    oklch(80.9% 0.03 279.3)

  5. Step 400

    400

    #9A9EBF

    oklch(70.7% 0.048 279.7)

  6. Step 500

    500 (this color)

    #787CA4

    oklch(59.8% 0.061 279.9)

  7. Step 600

    600

    #6B6F9A

    oklch(55.5% 0.067 279.9)

  8. Step 700

    700

    #5A5D83

    oklch(49.1% 0.061 280.4)

  9. Step 800

    800

    #494C6B

    oklch(42.7% 0.051 279.7)

  10. Step 900

    900

    #3D3F57

    oklch(37.6% 0.041 280.5)

  11. Step 950

    950

    #242533

    oklch(27% 0.026 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#787CA4 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)#7180A60.013
Deuteranopia (no green cones)#6F7DA30.013
Tritanopia (no blue cones)#6D838A0.053
Achromatopsia (no color)#7F7F7F0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #787CA4

    #787CA4

    oklch(59.8% 0.061 279.9)

  • #888156

    #888156

    oklch(59.9% 0.061 100.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787CA4

    #787CA4

    oklch(59.8% 0.061 279.9)

  • #6483A3

    #6483A3

    oklch(59.9% 0.061 249.7)

  • #8B769B

    #8B769B

    oklch(59.9% 0.06 310.2)

Open the analogous palette in the generator

Split complementary

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

  • #787CA4

    #787CA4

    oklch(59.8% 0.061 279.9)

  • #977A57

    #977A57

    oklch(59.9% 0.061 71.5)

  • #748761

    #748761

    oklch(59.8% 0.06 129.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787CA4

    #787CA4

    oklch(59.8% 0.061 279.9)

  • #A07464

    #A07464

    oklch(59.9% 0.061 40.8)

  • #5F8B73

    #5F8B73

    oklch(59.8% 0.061 160)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787CA4

    #787CA4

    oklch(59.8% 0.061 279.9)

  • #A07177

    #A07177

    oklch(59.8% 0.06 10.6)

  • #888156

    #888156

    oklch(59.9% 0.061 100.1)

  • #528C88

    #528C88

    oklch(59.9% 0.061 190)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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