#7798F2

Closest named color: Cornflower Blue (#6495ED). oklch(69.4% 0.138 267.5), rgb(119, 152, 242).

Aa

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

About this color

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

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

Values

HEX#7798F2
RGBrgb(119, 152, 242)
HSLhsl(224, 83%, 71%)
OKLCHoklch(69.4% 0.138 267.5)

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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CBD9FA

    oklch(88.5% 0.048 267.2)

  4. Step 300

    300

    #A8BFF9

    oklch(80.8% 0.086 267.7)

  5. Step 400

    400 (this color)

    #7798F2

    oklch(69.4% 0.138 267.5)

  6. Step 500

    500

    #5B80F3

    oklch(63.1% 0.177 267.7)

  7. Step 600

    600

    #4366E1

    oklch(55.5% 0.191 267.7)

  8. Step 700

    700

    #3554C4

    oklch(49.1% 0.178 267.5)

  9. Step 800

    800

    #2C469E

    oklch(42.7% 0.146 267.4)

  10. Step 900

    900

    #273C7E

    oklch(37.8% 0.115 267.4)

  11. Step 950

    950

    #17234A

    oklch(26.9% 0.074 268.3)

Export this scale for Tailwind in the Tailwind colors tool

#7798F2 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)#75A1F60.023
Deuteranopia (no green cones)#6796F00.020
Tritanopia (no blue cones)#3EABB90.124
Achromatopsia (no color)#9B9B9B0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #7798F2

    #7798F2

    oklch(69.4% 0.138 267.5)

  • #C19614

    #C19614

    oklch(69.4% 0.138 87.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7798F2

    #7798F2

    oklch(69.4% 0.138 267.5)

  • #2FA8E7

    #2FA8E7

    oklch(69.5% 0.138 237.2)

  • #A788E7

    #A788E7

    oklch(69.4% 0.139 297.7)

Open the analogous palette in the generator

Split complementary

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

  • #7798F2

    #7798F2

    oklch(69.4% 0.138 267.5)

  • #DB843B

    #DB843B

    oklch(69.3% 0.137 57.4)

  • #96A736

    #96A736

    oklch(69.3% 0.137 117.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7798F2

    #7798F2

    oklch(69.4% 0.138 267.5)

  • #E5786C

    #E5786C

    oklch(69.4% 0.137 27.7)

  • #5AB369

    #5AB369

    oklch(69.3% 0.137 147.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7798F2

    #7798F2

    oklch(69.4% 0.138 267.5)

  • #DF759D

    #DF759D

    oklch(69.4% 0.138 357.4)

  • #C19614

    #C19614

    oklch(69.4% 0.138 87.3)

  • #00B69C

    #00B69C

    oklch(69.4% 0.128 177.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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