#798EFE

Closest named color: Lavender Blue (#8B88F8). oklch(68.2% 0.166 273.2), rgb(121, 142, 254).

Aa

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

About this color

#798EFE is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.166 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.027 away. Black text reads best on it, at 7.11:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.166)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.11:1
White text2.95:1

Values

HEX#798EFE
RGBrgb(121, 142, 254)
HSLhsl(231, 99%, 74%)
OKLCHoklch(68.2% 0.166 273.2)

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 #798EFE 2.95:1 Fails Lc -61.2 Content text, not long reading
Black text on #798EFE 7.11:1 AAA Lc 48.2 Large or bold text, headings
#798EFE text on white 2.95:1 Fails Lc 55.8 Large or bold text, headings
#798EFE text on black 7.11:1 AAA Lc -45.9 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

    #E3E9FF

    oklch(93.6% 0.03 273.6)

  3. Step 200

    200

    #CDD7FF

    oklch(88.4% 0.056 274.2)

  4. Step 300

    300

    #ACBDFF

    oklch(80.9% 0.095 273)

  5. Step 400

    400 (this color)

    #798EFE

    oklch(68.2% 0.166 273.2)

  6. Step 500

    500

    #6679FF

    oklch(63.1% 0.198 273.3)

  7. Step 600

    600

    #4F59F6

    oklch(55.5% 0.23 273.3)

  8. Step 700

    700

    #4148D7

    oklch(49.2% 0.214 273.2)

  9. Step 800

    800

    #353CAD

    oklch(42.6% 0.177 273.4)

  10. Step 900

    900

    #2D3589

    oklch(37.6% 0.138 273.6)

  11. Step 950

    950

    #1A2050

    oklch(26.9% 0.087 273.6)

Export this scale for Tailwind in the Tailwind colors tool

#798EFE 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)#5E9CFF0.042
Deuteranopia (no green cones)#4E91FC0.045
Tritanopia (no blue cones)#3AA6BA0.146
Achromatopsia (no color)#9696960.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #798EFE

    #798EFE

    oklch(68.2% 0.166 273.2)

  • #B69600

    #B69600

    oklch(68.2% 0.14 93.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798EFE

    #798EFE

    oklch(68.2% 0.166 273.2)

  • #00A1F6

    #00A1F6

    oklch(68.2% 0.166 243.3)

  • #AF7CEC

    #AF7CEC

    oklch(68.3% 0.166 303.3)

Open the analogous palette in the generator

Split complementary

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

  • #798EFE

    #798EFE

    oklch(68.2% 0.166 273.2)

  • #DA8000

    #DA8000

    oklch(68.2% 0.155 63.4)

  • #86A809

    #86A809

    oklch(68.1% 0.165 123)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798EFE

    #798EFE

    oklch(68.2% 0.166 273.2)

  • #ED6C51

    #ED6C51

    oklch(68.3% 0.165 33.4)

  • #21B566

    #21B566

    oklch(68.2% 0.165 153.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798EFE

    #798EFE

    oklch(68.2% 0.166 273.2)

  • #E9668F

    #E9668F

    oklch(68.2% 0.166 2.9)

  • #B69600

    #B69600

    oklch(68.2% 0.14 93.6)

  • #00B1A0

    #00B1A0

    oklch(68.3% 0.122 182.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #798EFE 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.