#787BFA

Closest named color: Cornflower (#6A79F7). oklch(64.3% 0.185 278.8), rgb(120, 123, 250).

Aa

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

About this color

#787BFA is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.185 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.020 away. Black text reads best on it, at 6.01:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.185)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text6.01:1
White text3.49:1

Values

HEX#787BFA
RGBrgb(120, 123, 250)
HSLhsl(239, 93%, 73%)
OKLCHoklch(64.3% 0.185 278.8)

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 #787BFA 3.49:1 AA large text Lc -67.7 Content text, not long reading
Black text on #787BFA 6.01:1 AA Lc 41.8 Non-text elements, placeholder text
#787BFA text on white 3.49:1 AA large text Lc 62.2 Content text, not long reading
#787BFA text on black 6.01:1 AA Lc -39.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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E6E9FC

    oklch(93.7% 0.026 278.7)

  3. Step 200

    200

    #D1D6FB

    oklch(88.4% 0.051 279.2)

  4. Step 300

    300

    #B3BBFB

    oklch(80.9% 0.091 278.6)

  5. Step 400

    400

    #8E95F9

    oklch(70.7% 0.145 279)

  6. Step 500

    500 (this color)

    #787BFA

    oklch(64.3% 0.185 278.8)

  7. Step 600

    600

    #605CE4

    oklch(55.6% 0.2 279)

  8. Step 700

    700

    #4F4AC7

    oklch(49% 0.188 278.7)

  9. Step 800

    800

    #413EA1

    oklch(42.8% 0.155 278.9)

  10. Step 900

    900

    #36367F

    oklch(37.6% 0.12 278.9)

  11. Step 950

    950

    #1F204B

    oklch(26.9% 0.078 278.8)

Export this scale for Tailwind in the Tailwind colors tool

#787BFA 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)#398EFE0.071
Deuteranopia (no green cones)#2884F70.076
Tritanopia (no blue cones)#3F97AF0.161
Achromatopsia (no color)#8989890.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #787BFA

    #787BFA

    oklch(64.3% 0.185 278.8)

  • #A28D00

    #A28D00

    oklch(64.3% 0.133 98.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787BFA

    #787BFA

    oklch(64.3% 0.185 278.8)

  • #0091F2

    #0091F2

    oklch(64.3% 0.176 248.8)

  • #AE67E1

    #AE67E1

    oklch(64.4% 0.185 309)

Open the analogous palette in the generator

Split complementary

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

  • #787BFA

    #787BFA

    oklch(64.3% 0.185 278.8)

  • #C37A00

    #C37A00

    oklch(64.2% 0.14 68.6)

  • #6CA000

    #6CA000

    oklch(64.4% 0.171 129)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787BFA

    #787BFA

    oklch(64.3% 0.185 278.8)

  • #E65A26

    #E65A26

    oklch(64.3% 0.185 39)

  • #00A76B

    #00A76B

    oklch(64.2% 0.148 159)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787BFA

    #787BFA

    oklch(64.3% 0.185 278.8)

  • #E55176

    #E55176

    oklch(64.4% 0.184 8.8)

  • #A28D00

    #A28D00

    oklch(64.3% 0.133 98.6)

  • #00A29B

    #00A29B

    oklch(64.2% 0.111 189.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #787BFA.

Similar named colors

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

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