#789FF2

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.9% 0.129 264.2), rgb(120, 159, 242).

Aa

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

About this color

#789FF2 is a medium-light, moderately saturated blue. In OKLCH its lightness is 71%, its chroma 0.129 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.035 away. Black text reads best on it, at 8.04:1.

Hue familyBlues
Lightnessmedium-light (71%)
Chromamoderately saturated (0.129)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.04:1
White text2.61:1

Values

HEX#789FF2
RGBrgb(120, 159, 242)
HSLhsl(221, 82%, 71%)
OKLCHoklch(70.9% 0.129 264.2)

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 #789FF2 2.61:1 Fails Lc -56.0 Large or bold text, headings
Black text on #789FF2 8.04:1 AAA Lc 53.2 Large or bold text, headings
#789FF2 text on white 2.61:1 Fails Lc 50.8 Large or bold text, headings
#789FF2 text on black 8.04:1 AAA Lc -51.1 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CADAF8

    oklch(88.6% 0.045 263.1)

  4. Step 300

    300

    #A6C1F6

    oklch(81% 0.081 263.6)

  5. Step 400

    400 (this color)

    #789FF2

    oklch(70.9% 0.129 264.2)

  6. Step 500

    500

    #5584EC

    oklch(63.1% 0.165 264)

  7. Step 600

    600

    #3B6BDB

    oklch(55.7% 0.18 264)

  8. Step 700

    700

    #2E58BE

    oklch(49.1% 0.167 264.2)

  9. Step 800

    800

    #27499A

    oklch(42.8% 0.138 264.2)

  10. Step 900

    900

    #233E7A

    oklch(37.7% 0.107 263.8)

  11. Step 950

    950

    #152548

    oklch(27.1% 0.069 263.9)

Export this scale for Tailwind in the Tailwind colors tool

#789FF2 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)#7FA6F50.021
Deuteranopia (no green cones)#719BF00.014
Tritanopia (no blue cones)#3FB1BD0.117
Achromatopsia (no color)#A0A0A00.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #789FF2

    #789FF2

    oklch(70.9% 0.129 264.2)

  • #C7992F

    #C7992F

    oklch(70.8% 0.13 83.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #789FF2

    #789FF2

    oklch(70.9% 0.129 264.2)

  • #39ADE5

    #39ADE5

    oklch(70.8% 0.129 234.3)

  • #A690EA

    #A690EA

    oklch(70.9% 0.13 294.1)

Open the analogous palette in the generator

Split complementary

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

  • #789FF2

    #789FF2

    oklch(70.9% 0.129 264.2)

  • #DF894D

    #DF894D

    oklch(70.9% 0.13 53.8)

  • #A0AA40

    #A0AA40

    oklch(70.9% 0.13 114.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #789FF2

    #789FF2

    oklch(70.9% 0.129 264.2)

  • #E77F79

    #E77F79

    oklch(71% 0.129 24.3)

  • #6BB66C

    #6BB66C

    oklch(70.9% 0.129 144.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #789FF2

    #789FF2

    oklch(70.9% 0.129 264.2)

  • #DF7DA6

    #DF7DA6

    oklch(70.9% 0.13 354.4)

  • #C7992F

    #C7992F

    oklch(70.8% 0.13 83.9)

  • #1EBB9B

    #1EBB9B

    oklch(70.9% 0.13 174)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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