#788EF2

Closest named color: Cornflower Blue (#6495ED). oklch(67.5% 0.15 272.5), rgb(120, 142, 242).

Aa

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

About this color

#788EF2 is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.150 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.029 away. Black text reads best on it, at 6.94:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.150)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text6.94:1
White text3.02:1

Values

HEX#788EF2
RGBrgb(120, 142, 242)
HSLhsl(229, 82%, 71%)
OKLCHoklch(67.5% 0.15 272.5)

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 #788EF2 3.02:1 AA large text Lc -62.2 Content text, not long reading
Black text on #788EF2 6.94:1 AA Lc 47.2 Large or bold text, headings
#788EF2 text on white 3.02:1 AA large text Lc 56.8 Large or bold text, headings
#788EF2 text on black 6.94:1 AA Lc -45.0 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 400.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FD

    oklch(93.5% 0.028 272.5)

  3. Step 200

    200

    #CDD8FC

    oklch(88.5% 0.051 271.9)

  4. Step 300

    300

    #ACBDFE

    oklch(80.9% 0.094 272.8)

  5. Step 400

    400 (this color)

    #788EF2

    oklch(67.5% 0.15 272.5)

  6. Step 500

    500

    #657BFB

    oklch(63.2% 0.191 272.5)

  7. Step 600

    600

    #4F5FEA

    oklch(55.5% 0.208 272.6)

  8. Step 700

    700

    #404ECC

    oklch(49.2% 0.193 272.2)

  9. Step 800

    800

    #3541A5

    oklch(42.8% 0.16 272.5)

  10. Step 900

    900

    #2D3882

    oklch(37.6% 0.124 272.6)

  11. Step 950

    950

    #1A224C

    oklch(27.1% 0.078 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#788EF2 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)#659AF60.034
Deuteranopia (no green cones)#598FF00.035
Tritanopia (no blue cones)#43A3B40.133
Achromatopsia (no color)#9494940.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #788EF2

    #788EF2

    oklch(67.5% 0.15 272.5)

  • #B59300

    #B59300

    oklch(67.5% 0.138 92.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #788EF2

    #788EF2

    oklch(67.5% 0.15 272.5)

  • #269FEA

    #269FEA

    oklch(67.4% 0.15 242.5)

  • #A97DE2

    #A97DE2

    oklch(67.4% 0.15 302.7)

Open the analogous palette in the generator

Split complementary

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

  • #788EF2

    #788EF2

    oklch(67.5% 0.15 272.5)

  • #D67E14

    #D67E14

    oklch(67.4% 0.15 62.3)

  • #87A427

    #87A427

    oklch(67.4% 0.149 122.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #788EF2

    #788EF2

    oklch(67.5% 0.15 272.5)

  • #E36F58

    #E36F58

    oklch(67.4% 0.149 32.7)

  • #3BB068

    #3BB068

    oklch(67.4% 0.149 152.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #788EF2

    #788EF2

    oklch(67.5% 0.15 272.5)

  • #DF6B8F

    #DF6B8F

    oklch(67.5% 0.149 2.3)

  • #B59300

    #B59300

    oklch(67.5% 0.138 92.3)

  • #00AE9D

    #00AE9D

    oklch(67.4% 0.12 182.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #788EF2.

Similar named colors

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

Use #788EF2 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.