#787DAB

Closest named color: Lavender Gray (#7E7F9A). oklch(60.3% 0.07 279.3), rgb(120, 125, 171).

Aa

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

About this color

#787DAB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.070 and its hue 279°. 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.32:1.

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

Values

HEX#787DAB
RGBrgb(120, 125, 171)
HSLhsl(234, 23%, 57%)
OKLCHoklch(60.3% 0.07 279.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 #787DAB 3.94:1 AA large text Lc -72.3 Content text, not long reading
Black text on #787DAB 5.32:1 AA Lc 37.2 Non-text elements, placeholder text
#787DAB text on white 3.94:1 AA large text Lc 66.8 Content text, not long reading
#787DAB text on black 5.32:1 AA Lc -34.8 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

    #999EC3

    oklch(70.8% 0.054 278.9)

  6. Step 500

    500 (this color)

    #787DAB

    oklch(60.3% 0.07 279.3)

  7. Step 600

    600

    #6A6FA0

    oklch(55.7% 0.076 279.1)

  8. Step 700

    700

    #585C89

    oklch(49% 0.072 279.5)

  9. Step 800

    800

    #484C6F

    oklch(42.8% 0.058 278.6)

  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

#787DAB 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)#7082AD0.016
Deuteranopia (no green cones)#6D7EAA0.015
Tritanopia (no blue cones)#6B858D0.061
Achromatopsia (no color)#8080800.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #787DAB

    #787DAB

    oklch(60.3% 0.07 279.3)

  • #8B8250

    #8B8250

    oklch(60.3% 0.07 99.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787DAB

    #787DAB

    oklch(60.3% 0.07 279.3)

  • #6085AA

    #6085AA

    oklch(60.4% 0.07 249.1)

  • #8E76A1

    #8E76A1

    oklch(60.4% 0.069 309.7)

Open the analogous palette in the generator

Split complementary

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

  • #787DAB

    #787DAB

    oklch(60.3% 0.07 279.3)

  • #9D7A52

    #9D7A52

    oklch(60.4% 0.071 69.6)

  • #748A5D

    #748A5D

    oklch(60.4% 0.07 129.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787DAB

    #787DAB

    oklch(60.3% 0.07 279.3)

  • #A67362

    #A67362

    oklch(60.4% 0.07 39.2)

  • #5B8E72

    #5B8E72

    oklch(60.2% 0.07 159.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787DAB

    #787DAB

    oklch(60.3% 0.07 279.3)

  • #A67078

    #A67078

    oklch(60.4% 0.069 9.6)

  • #8B8250

    #8B8250

    oklch(60.3% 0.07 99.3)

  • #4A8F8A

    #4A8F8A

    oklch(60.4% 0.071 189.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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