#789EFE

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.3% 0.147 266.4), rgb(120, 158, 254).

Aa

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

About this color

#789EFE is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.147 and its hue 266°. 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.12:1.

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

Values

HEX#789EFE
RGBrgb(120, 158, 254)
HSLhsl(223, 99%, 73%)
OKLCHoklch(71.3% 0.147 266.4)

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 #789EFE 2.58:1 Fails Lc -55.5 Large or bold text, headings
Black text on #789EFE 8.12:1 AAA Lc 53.6 Large or bold text, headings
#789EFE text on white 2.58:1 Fails Lc 50.4 Large or bold text, headings
#789EFE text on black 8.12:1 AAA Lc -51.5 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

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CAD9FC

    oklch(88.5% 0.051 267)

  4. Step 300

    300

    #A5C0FD

    oklch(81% 0.092 265.9)

  5. Step 400

    400 (this color)

    #789EFE

    oklch(71.3% 0.147 266.4)

  6. Step 500

    500

    #5580F9

    oklch(63.2% 0.187 266.4)

  7. Step 600

    600

    #3C65E8

    oklch(55.5% 0.204 266.5)

  8. Step 700

    700

    #2F53CA

    oklch(49.1% 0.189 266.4)

  9. Step 800

    800

    #2745A3

    oklch(42.7% 0.156 266.3)

  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

#789EFE 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)#77A7FF0.023
Deuteranopia (no green cones)#689BFC0.020
Tritanopia (no blue cones)#32B3C20.132
Achromatopsia (no color)#A1A1A10.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #789EFE

    #789EFE

    oklch(71.3% 0.147 266.4)

  • #CA9B00

    #CA9B00

    oklch(71.4% 0.146 86.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #789EFE

    #789EFE

    oklch(71.3% 0.147 266.4)

  • #22AFF1

    #22AFF1

    oklch(71.4% 0.146 236)

  • #AC8DF3

    #AC8DF3

    oklch(71.3% 0.147 296.5)

Open the analogous palette in the generator

Split complementary

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

  • #789EFE

    #789EFE

    oklch(71.3% 0.147 266.4)

  • #E68739

    #E68739

    oklch(71.2% 0.147 56.3)

  • #9EAD2F

    #9EAD2F

    oklch(71.3% 0.146 116.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #789EFE

    #789EFE

    oklch(71.3% 0.147 266.4)

  • #F07A70

    #F07A70

    oklch(71.2% 0.147 26.4)

  • #5DBB69

    #5DBB69

    oklch(71.4% 0.147 146.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #789EFE

    #789EFE

    oklch(71.3% 0.147 266.4)

  • #E978A5

    #E978A5

    oklch(71.3% 0.147 356.3)

  • #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 #789EFE, closest first.

Similar named colors

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

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