#7798FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.1% 0.156 268.8), rgb(119, 152, 255).

Aa

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

About this color

#7798FF is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.156 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.031 away. Black text reads best on it, at 7.71:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromavivid (0.156)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.71:1
White text2.72:1

Values

HEX#7798FF
RGBrgb(119, 152, 255)
HSLhsl(225, 100%, 73%)
OKLCHoklch(70.1% 0.156 268.8)

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 #7798FF 2.72:1 Fails Lc -57.7 Large or bold text, headings
Black text on #7798FF 7.71:1 AAA Lc 51.5 Large or bold text, headings
#7798FF text on white 2.72:1 Fails Lc 52.5 Large or bold text, headings
#7798FF text on black 7.71:1 AAA Lc -49.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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2EAFD

    oklch(93.7% 0.027 267.5)

  3. Step 200

    200

    #CAD8FE

    oklch(88.4% 0.055 269.3)

  4. Step 300

    300

    #A7BFFF

    oklch(81% 0.095 268.4)

  5. Step 400

    400 (this color)

    #7798FF

    oklch(70.1% 0.156 268.8)

  6. Step 500

    500

    #597DFF

    oklch(63.2% 0.197 268.6)

  7. Step 600

    600

    #4261EF

    oklch(55.6% 0.216 268.8)

  8. Step 700

    700

    #354FD0

    oklch(49.1% 0.2 268.8)

  9. Step 800

    800

    #2B42A8

    oklch(42.7% 0.166 268.6)

  10. Step 900

    900

    #263985

    oklch(37.7% 0.129 268.8)

  11. Step 950

    950

    #16224E

    oklch(26.9% 0.083 268.8)

Export this scale for Tailwind in the Tailwind colors tool

#7798FF 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)#6DA3FF0.029
Deuteranopia (no green cones)#5D97FD0.029
Tritanopia (no blue cones)#2FAEBF0.139
Achromatopsia (no color)#9D9D9D0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #7798FF

    #7798FF

    oklch(70.1% 0.156 268.8)

  • #C39900

    #C39900

    oklch(70.2% 0.143 88.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7798FF

    #7798FF

    oklch(70.1% 0.156 268.8)

  • #0CAAF4

    #0CAAF4

    oklch(70.2% 0.156 238.7)

  • #AC86F1

    #AC86F1

    oklch(70% 0.156 298.7)

Open the analogous palette in the generator

Split complementary

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

  • #7798FF

    #7798FF

    oklch(70.1% 0.156 268.8)

  • #E48322

    #E48322

    oklch(70.1% 0.155 58.9)

  • #95AB1F

    #95AB1F

    oklch(70% 0.155 118.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7798FF

    #7798FF

    oklch(70.1% 0.156 268.8)

  • #F07465

    #F07465

    oklch(70.1% 0.156 28.7)

  • #4CB966

    #4CB966

    oklch(70.2% 0.156 148.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7798FF

    #7798FF

    oklch(70.1% 0.156 268.8)

  • #E9719D

    #E9719D

    oklch(70.1% 0.155 358.7)

  • #C39900

    #C39900

    oklch(70.2% 0.143 88.9)

  • #00B8A0

    #00B8A0

    oklch(70.1% 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 #7798FF, closest first.

Similar named colors

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

Use #7798FF 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.