#788EEF

Closest named color: Cornflower Blue (#6495ED). oklch(67.3% 0.146 272.3), rgb(120, 142, 239).

Aa

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

About this color

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

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

Values

HEX#788EEF
RGBrgb(120, 142, 239)
HSLhsl(229, 79%, 70%)
OKLCHoklch(67.3% 0.146 272.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 #788EEF 3.03:1 AA large text Lc -62.4 Content text, not long reading
Black text on #788EEF 6.91:1 AA Lc 47.0 Large or bold text, headings
#788EEF text on white 3.03:1 AA large text Lc 57.0 Large or bold text, headings
#788EEF text on black 6.91:1 AA Lc -44.7 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

    #E3E9FC

    oklch(93.5% 0.027 271.9)

  3. Step 200

    200

    #CDD8FB

    oklch(88.5% 0.05 271.6)

  4. Step 300

    300

    #ACBDFC

    oklch(80.8% 0.091 272.6)

  5. Step 400

    400 (this color)

    #788EEF

    oklch(67.3% 0.146 272.3)

  6. Step 500

    500

    #657CF8

    oklch(63.2% 0.186 272.1)

  7. Step 600

    600

    #4F61E7

    oklch(55.6% 0.202 272.2)

  8. Step 700

    700

    #414FC9

    oklch(49.2% 0.188 272.4)

  9. Step 800

    800

    #3542A2

    oklch(42.8% 0.155 272.3)

  10. Step 900

    900

    #2D3981

    oklch(37.8% 0.121 272.2)

  11. Step 950

    950

    #1A224B

    oklch(27% 0.076 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#788EEF 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)#6799F30.031
Deuteranopia (no green cones)#5B8FED0.033
Tritanopia (no blue cones)#46A3B30.130
Achromatopsia (no color)#9494940.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #788EEF

    #788EEF

    oklch(67.3% 0.146 272.3)

  • #B49200

    #B49200

    oklch(67.2% 0.137 92.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #788EEF

    #788EEF

    oklch(67.3% 0.146 272.3)

  • #2B9FE7

    #2B9FE7

    oklch(67.4% 0.145 241.9)

  • #A87EE0

    #A87EE0

    oklch(67.4% 0.146 302.4)

Open the analogous palette in the generator

Split complementary

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

  • #788EEF

    #788EEF

    oklch(67.3% 0.146 272.3)

  • #D47F1D

    #D47F1D

    oklch(67.4% 0.145 62.6)

  • #87A42C

    #87A42C

    oklch(67.4% 0.146 122.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #788EEF

    #788EEF

    oklch(67.3% 0.146 272.3)

  • #E1705A

    #E1705A

    oklch(67.3% 0.146 32.4)

  • #3FAF68

    #3FAF68

    oklch(67.3% 0.146 152.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #788EEF

    #788EEF

    oklch(67.3% 0.146 272.3)

  • #DD6C8F

    #DD6C8F

    oklch(67.4% 0.145 2.2)

  • #B49200

    #B49200

    oklch(67.2% 0.137 92.2)

  • #00AE9C

    #00AE9C

    oklch(67.4% 0.121 182.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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