#789EFF

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.4% 0.148 266.5), rgb(120, 158, 255).

Aa

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

About this color

#789EFF is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.148 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.029 away. Black text reads best on it, at 8.13:1.

Hue familyBlues
Lightnessmedium-light (71%)
Chromavivid (0.148)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.13:1
White text2.58:1

Values

HEX#789EFF
RGBrgb(120, 158, 255)
HSLhsl(223, 100%, 74%)
OKLCHoklch(71.4% 0.148 266.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 #789EFF 2.58:1 Fails Lc -55.4 Large or bold text, headings
Black text on #789EFF 8.13:1 AAA Lc 53.7 Large or bold text, headings
#789EFF text on white 2.58:1 Fails Lc 50.3 Large or bold text, headings
#789EFF text on black 8.13:1 AAA Lc -51.6 Large or bold text, headings

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

    #E2EAFD

    oklch(93.7% 0.027 267.5)

  3. Step 200

    200

    #CAD9FC

    oklch(88.5% 0.051 267)

  4. Step 300

    300

    #A5BFFD

    oklch(80.8% 0.093 266.7)

  5. Step 400

    400 (this color)

    #789EFF

    oklch(71.4% 0.148 266.5)

  6. Step 500

    500

    #557FFA

    oklch(63% 0.189 266.7)

  7. Step 600

    600

    #3C65E9

    oklch(55.6% 0.205 266.5)

  8. Step 700

    700

    #2F52CB

    oklch(49% 0.192 266.7)

  9. Step 800

    800

    #2744A4

    oklch(42.6% 0.159 266.7)

  10. Step 900

    900

    #233B82

    oklch(37.7% 0.123 266.4)

  11. Step 950

    950

    #15234C

    oklch(27% 0.078 266.9)

Export this scale for Tailwind in the Tailwind colors tool

#789EFF 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)#77A8FF0.026
Deuteranopia (no green cones)#679BFD0.021
Tritanopia (no blue cones)#31B3C20.133
Achromatopsia (no color)#A1A1A10.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #789EFF

    #789EFF

    oklch(71.4% 0.148 266.5)

  • #CA9B00

    #CA9B00

    oklch(71.4% 0.146 86.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #789EFF

    #789EFF

    oklch(71.4% 0.148 266.5)

  • #1FAFF2

    #1FAFF2

    oklch(71.4% 0.148 236.2)

  • #AC8DF4

    #AC8DF4

    oklch(71.4% 0.149 296.3)

Open the analogous palette in the generator

Split complementary

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

  • #789EFF

    #789EFF

    oklch(71.4% 0.148 266.5)

  • #E78738

    #E78738

    oklch(71.3% 0.148 56.2)

  • #9EAE2D

    #9EAE2D

    oklch(71.5% 0.148 116.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #789EFF

    #789EFF

    oklch(71.4% 0.148 266.5)

  • #F17A70

    #F17A70

    oklch(71.4% 0.148 26.4)

  • #5CBB69

    #5CBB69

    oklch(71.4% 0.148 146.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #789EFF

    #789EFF

    oklch(71.4% 0.148 266.5)

  • #EA78A5

    #EA78A5

    oklch(71.5% 0.148 356.5)

  • #CA9B00

    #CA9B00

    oklch(71.4% 0.146 86.8)

  • #00BDA0

    #00BDA0

    oklch(71.3% 0.133 176.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #789EFF 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.