#7897EB

Closest named color: Cornflower Blue (#6495ED). oklch(68.9% 0.129 267.6), rgb(120, 151, 235).

Aa

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

About this color

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

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

Values

HEX#7897EB
RGBrgb(120, 151, 235)
HSLhsl(224, 74%, 70%)
OKLCHoklch(68.9% 0.129 267.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 #7897EB 2.82:1 Fails Lc -59.5 Large or bold text, headings
Black text on #7897EB 7.42:1 AAA Lc 49.9 Large or bold text, headings
#7897EB text on white 2.82:1 Fails Lc 54.2 Large or bold text, headings
#7897EB text on black 7.42:1 AAA Lc -47.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

    #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

    #AAC0F6

    oklch(81% 0.08 267.4)

  5. Step 400

    400 (this color)

    #7897EB

    oklch(68.9% 0.129 267.6)

  6. Step 500

    500

    #5E82EC

    oklch(63.2% 0.164 267.5)

  7. Step 600

    600

    #4668DB

    oklch(55.6% 0.18 267.7)

  8. Step 700

    700

    #3856BE

    oklch(49.1% 0.167 267.7)

  9. Step 800

    800

    #2E4799

    oklch(42.7% 0.137 267.5)

  10. Step 900

    900

    #293C7A

    oklch(37.6% 0.108 268.1)

  11. Step 950

    950

    #182447

    oklch(27% 0.067 267.5)

Export this scale for Tailwind in the Tailwind colors tool

#7897EB 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)#779FEE0.021
Deuteranopia (no green cones)#6B95E90.017
Tritanopia (no blue cones)#47A9B60.116
Achromatopsia (no color)#9A9A9A0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #7897EB

    #7897EB

    oklch(68.9% 0.129 267.6)

  • #BD9527

    #BD9527

    oklch(68.9% 0.129 87.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7897EB

    #7897EB

    oklch(68.9% 0.129 267.6)

  • #3BA5E1

    #3BA5E1

    oklch(68.8% 0.129 238)

  • #A588E0

    #A588E0

    oklch(68.8% 0.129 298.1)

Open the analogous palette in the generator

Split complementary

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

  • #7897EB

    #7897EB

    oklch(68.9% 0.129 267.6)

  • #D68542

    #D68542

    oklch(69% 0.129 57.7)

  • #95A53E

    #95A53E

    oklch(68.9% 0.129 117.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7897EB

    #7897EB

    oklch(68.9% 0.129 267.6)

  • #E0796E

    #E0796E

    oklch(68.9% 0.13 27.3)

  • #5EB16B

    #5EB16B

    oklch(69% 0.13 147.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7897EB

    #7897EB

    oklch(68.9% 0.129 267.6)

  • #DA779B

    #DA779B

    oklch(69% 0.129 357.9)

  • #BD9527

    #BD9527

    oklch(68.9% 0.129 87.3)

  • #00B49A

    #00B49A

    oklch(68.9% 0.127 177.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7897EB 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.