#7899EC

Closest named color: Cornflower Blue (#6495ED). oklch(69.4% 0.128 266.6), rgb(120, 153, 236).

Aa

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

About this color

#7899EC is a medium-light, moderately saturated blue. In OKLCH its lightness is 69%, its chroma 0.128 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.026 away. Black text reads best on it, at 7.56:1.

Hue familyBlues
Lightnessmedium-light (69%)
Chromamoderately saturated (0.128)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.56:1
White text2.77:1

Values

HEX#7899EC
RGBrgb(120, 153, 236)
HSLhsl(223, 75%, 70%)
OKLCHoklch(69.4% 0.128 266.6)

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 #7899EC 2.77:1 Fails Lc -58.7 Large or bold text, headings
Black text on #7899EC 7.56:1 AAA Lc 50.6 Large or bold text, headings
#7899EC text on white 2.77:1 Fails Lc 53.4 Large or bold text, headings
#7899EC text on black 7.56:1 AAA Lc -48.4 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFA

    oklch(93.6% 0.023 266.9)

  3. Step 200

    200

    #CCD9F8

    oklch(88.5% 0.045 267.4)

  4. Step 300

    300

    #A9C0F5

    oklch(80.9% 0.079 266.4)

  5. Step 400

    400 (this color)

    #7899EC

    oklch(69.4% 0.128 266.6)

  6. Step 500

    500

    #5C82EC

    oklch(63.1% 0.165 266.8)

  7. Step 600

    600

    #4369DA

    oklch(55.6% 0.178 266.6)

  8. Step 700

    700

    #3657BD

    oklch(49.2% 0.165 266.7)

  9. Step 800

    800

    #2C4899

    oklch(42.8% 0.137 266.3)

  10. Step 900

    900

    #273D7A

    oklch(37.7% 0.107 266.4)

  11. Step 950

    950

    #172447

    oklch(26.9% 0.068 266.6)

Export this scale for Tailwind in the Tailwind colors tool

#7899EC 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)#79A1EF0.021
Deuteranopia (no green cones)#6D96EA0.016
Tritanopia (no blue cones)#46ABB70.116
Achromatopsia (no color)#9B9B9B0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #7899EC

    #7899EC

    oklch(69.4% 0.128 266.6)

  • #BF962B

    #BF962B

    oklch(69.3% 0.128 86.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7899EC

    #7899EC

    oklch(69.4% 0.128 266.6)

  • #3BA7E1

    #3BA7E1

    oklch(69.3% 0.128 236.7)

  • #A58AE2

    #A58AE2

    oklch(69.3% 0.129 297)

Open the analogous palette in the generator

Split complementary

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

  • #7899EC

    #7899EC

    oklch(69.4% 0.128 266.6)

  • #D88646

    #D88646

    oklch(69.4% 0.128 56.5)

  • #98A640

    #98A640

    oklch(69.3% 0.127 116.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7899EC

    #7899EC

    oklch(69.4% 0.128 266.6)

  • #E17B71

    #E17B71

    oklch(69.4% 0.128 26.7)

  • #62B26C

    #62B26C

    oklch(69.5% 0.129 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7899EC

    #7899EC

    oklch(69.4% 0.128 266.6)

  • #DA799E

    #DA799E

    oklch(69.4% 0.127 356.7)

  • #BF962B

    #BF962B

    oklch(69.3% 0.128 86.5)

  • #07B69A

    #07B69A

    oklch(69.4% 0.129 176.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7899EC 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.