#7797F2

Closest named color: Cornflower Blue (#6495ED). oklch(69.2% 0.139 268), rgb(119, 151, 242).

Aa

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

About this color

#7797F2 is a medium-light, moderately saturated blue. In OKLCH its lightness is 69%, its chroma 0.139 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.49:1.

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

Values

HEX#7797F2
RGBrgb(119, 151, 242)
HSLhsl(224, 83%, 71%)
OKLCHoklch(69.2% 0.139 268)

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 #7797F2 2.80:1 Fails Lc -59.0 Large or bold text, headings
Black text on #7797F2 7.49:1 AAA Lc 50.3 Large or bold text, headings
#7797F2 text on white 2.80:1 Fails Lc 53.8 Large or bold text, headings
#7797F2 text on black 7.49:1 AAA Lc -48.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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3EAFB

    oklch(93.7% 0.024 267.9)

  3. Step 200

    200

    #CBD9FA

    oklch(88.5% 0.048 267.2)

  4. Step 300

    300

    #A8BFFA

    oklch(80.9% 0.088 267.9)

  5. Step 400

    400 (this color)

    #7797F2

    oklch(69.2% 0.139 268)

  6. Step 500

    500

    #5C80F4

    oklch(63.2% 0.178 268.1)

  7. Step 600

    600

    #4466E2

    oklch(55.6% 0.192 268)

  8. Step 700

    700

    #3654C5

    oklch(49.2% 0.18 267.9)

  9. Step 800

    800

    #2D459F

    oklch(42.7% 0.149 268.1)

  10. Step 900

    900

    #273B7E

    oklch(37.6% 0.116 267.9)

  11. Step 950

    950

    #17234A

    oklch(26.9% 0.074 268.3)

Export this scale for Tailwind in the Tailwind colors tool

#7797F2 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)#73A0F60.023
Deuteranopia (no green cones)#6695F00.021
Tritanopia (no blue cones)#3FABB90.125
Achromatopsia (no color)#9A9A9A0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #7797F2

    #7797F2

    oklch(69.2% 0.139 268)

  • #C0960D

    #C0960D

    oklch(69.3% 0.139 88.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7797F2

    #7797F2

    oklch(69.2% 0.139 268)

  • #2EA7E7

    #2EA7E7

    oklch(69.3% 0.138 237.7)

  • #A787E6

    #A787E6

    oklch(69.1% 0.139 298.2)

Open the analogous palette in the generator

Split complementary

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

  • #7797F2

    #7797F2

    oklch(69.2% 0.139 268)

  • #DB8438

    #DB8438

    oklch(69.3% 0.139 58.1)

  • #95A734

    #95A734

    oklch(69.2% 0.139 117.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7797F2

    #7797F2

    oklch(69.2% 0.139 268)

  • #E5776A

    #E5776A

    oklch(69.2% 0.139 28.2)

  • #58B369

    #58B369

    oklch(69.2% 0.138 148)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7797F2

    #7797F2

    oklch(69.2% 0.139 268)

  • #DF749C

    #DF749C

    oklch(69.2% 0.14 357.7)

  • #C0960D

    #C0960D

    oklch(69.3% 0.139 88.1)

  • #00B59C

    #00B59C

    oklch(69.2% 0.127 178.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7797F2 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.