#789DEC

Closest named color: Cornflower Blue (#6495ED). oklch(70.2% 0.124 264.4), rgb(120, 157, 236).

Aa

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

About this color

#789DEC is a medium-light, moderately saturated blue. In OKLCH its lightness is 70%, its chroma 0.124 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.033 away. Black text reads best on it, at 7.83:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.83:1
White text2.68:1

Values

HEX#789DEC
RGBrgb(120, 157, 236)
HSLhsl(221, 75%, 70%)
OKLCHoklch(70.2% 0.124 264.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 #789DEC 2.68:1 Fails Lc -57.2 Large or bold text, headings
Black text on #789DEC 7.83:1 AAA Lc 52.1 Large or bold text, headings
#789DEC text on white 2.68:1 Fails Lc 52.0 Large or bold text, headings
#789DEC text on black 7.83:1 AAA Lc -49.9 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

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CBD9F6

    oklch(88.4% 0.043 265)

  4. Step 300

    300

    #A8C1F3

    oklch(81% 0.076 264)

  5. Step 400

    400 (this color)

    #789DEC

    oklch(70.2% 0.124 264.4)

  6. Step 500

    500

    #5884E8

    oklch(63% 0.158 264.4)

  7. Step 600

    600

    #3F6BD6

    oklch(55.5% 0.172 264.6)

  8. Step 700

    700

    #3159BA

    oklch(49.1% 0.16 264.4)

  9. Step 800

    800

    #294996

    oklch(42.6% 0.132 264.5)

  10. Step 900

    900

    #253E78

    oklch(37.7% 0.104 264.4)

  11. Step 950

    950

    #162546

    oklch(27.1% 0.065 264.1)

Export this scale for Tailwind in the Tailwind colors tool

#789DEC 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)#7FA4EF0.021
Deuteranopia (no green cones)#7299EA0.014
Tritanopia (no blue cones)#45AEBA0.111
Achromatopsia (no color)#9E9E9E0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #789DEC

    #789DEC

    oklch(70.2% 0.124 264.4)

  • #C39836

    #C39836

    oklch(70.3% 0.123 84.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #789DEC

    #789DEC

    oklch(70.2% 0.124 264.4)

  • #3FABE0

    #3FABE0

    oklch(70.2% 0.124 234)

  • #A48FE4

    #A48FE4

    oklch(70.2% 0.123 294.4)

Open the analogous palette in the generator

Split complementary

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

  • #789DEC

    #789DEC

    oklch(70.2% 0.124 264.4)

  • #DA884F

    #DA884F

    oklch(70.1% 0.124 54)

  • #9EA745

    #9EA745

    oklch(70.1% 0.123 114)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #789DEC

    #789DEC

    oklch(70.2% 0.124 264.4)

  • #E27E78

    #E27E78

    oklch(70.2% 0.125 24.4)

  • #6CB36D

    #6CB36D

    oklch(70.2% 0.123 144.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #789DEC

    #789DEC

    oklch(70.2% 0.124 264.4)

  • #DA7DA4

    #DA7DA4

    oklch(70.2% 0.123 354.1)

  • #C39836

    #C39836

    oklch(70.3% 0.123 84.3)

  • #2AB89A

    #2AB89A

    oklch(70.3% 0.124 174.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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