#7797FB

Closest named color: Cornflower Blue (#6495ED). oklch(69.7% 0.151 268.9), rgb(119, 151, 251).

Aa

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

About this color

#7797FB is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.151 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.031 away. Black text reads best on it, at 7.60:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromavivid (0.151)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.60:1
White text2.76:1

Values

HEX#7797FB
RGBrgb(119, 151, 251)
HSLhsl(225, 94%, 73%)
OKLCHoklch(69.7% 0.151 268.9)

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 #7797FB 2.76:1 Fails Lc -58.4 Large or bold text, headings
Black text on #7797FB 7.60:1 AAA Lc 50.9 Large or bold text, headings
#7797FB text on white 2.76:1 Fails Lc 53.1 Large or bold text, headings
#7797FB text on black 7.60:1 AAA Lc -48.7 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

    #E2EAFD

    oklch(93.7% 0.027 267.5)

  3. Step 200

    200

    #CBD8FD

    oklch(88.4% 0.053 270)

  4. Step 300

    300

    #A7BFFF

    oklch(81% 0.095 268.4)

  5. Step 400

    400 (this color)

    #7797FB

    oklch(69.7% 0.151 268.9)

  6. Step 500

    500

    #5A7DFD

    oklch(63.1% 0.194 268.8)

  7. Step 600

    600

    #4362EC

    oklch(55.6% 0.21 268.8)

  8. Step 700

    700

    #3650CD

    oklch(49.1% 0.195 268.9)

  9. Step 800

    800

    #2C42A6

    oklch(42.6% 0.163 268.9)

  10. Step 900

    900

    #273A83

    oklch(37.8% 0.125 268.7)

  11. Step 950

    950

    #17224D

    oklch(26.9% 0.081 269.5)

Export this scale for Tailwind in the Tailwind colors tool

#7797FB 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)#6EA2FF0.028
Deuteranopia (no green cones)#5F96F90.027
Tritanopia (no blue cones)#35ADBD0.136
Achromatopsia (no color)#9C9C9C0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #7797FB

    #7797FB

    oklch(69.7% 0.151 268.9)

  • #C19700

    #C19700

    oklch(69.6% 0.142 88.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7797FB

    #7797FB

    oklch(69.7% 0.151 268.9)

  • #1AA8F0

    #1AA8F0

    oklch(69.6% 0.151 239)

  • #AB86EE

    #AB86EE

    oklch(69.7% 0.152 298.8)

Open the analogous palette in the generator

Split complementary

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

  • #7797FB

    #7797FB

    oklch(69.7% 0.151 268.9)

  • #E18327

    #E18327

    oklch(69.8% 0.151 59.1)

  • #94AA25

    #94AA25

    oklch(69.8% 0.152 119)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7797FB

    #7797FB

    oklch(69.7% 0.151 268.9)

  • #EC7465

    #EC7465

    oklch(69.6% 0.151 28.8)

  • #4DB767

    #4DB767

    oklch(69.8% 0.152 149)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7797FB

    #7797FB

    oklch(69.7% 0.151 268.9)

  • #E6719C

    #E6719C

    oklch(69.7% 0.151 358.5)

  • #C19700

    #C19700

    oklch(69.6% 0.142 88.7)

  • #00B79F

    #00B79F

    oklch(69.8% 0.128 178.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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