#798DF7

Closest named color: Lavender Blue (#8B88F8). oklch(67.6% 0.158 273.4), rgb(121, 141, 247).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.158)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text6.96:1
White text3.01:1

Values

HEX#798DF7
RGBrgb(121, 141, 247)
HSLhsl(230, 89%, 72%)
OKLCHoklch(67.6% 0.158 273.4)

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 #798DF7 3.01:1 AA large text Lc -62.1 Content text, not long reading
Black text on #798DF7 6.96:1 AA Lc 47.4 Large or bold text, headings
#798DF7 text on white 3.01:1 AA large text Lc 56.7 Large or bold text, headings
#798DF7 text on black 6.96:1 AA Lc -45.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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FE

    oklch(93.6% 0.029 273.1)

  3. Step 200

    200

    #CDD7FE

    oklch(88.4% 0.055 273.9)

  4. Step 300

    300

    #ACBDFF

    oklch(80.9% 0.095 273)

  5. Step 400

    400 (this color)

    #798DF7

    oklch(67.6% 0.158 273.4)

  6. Step 500

    500

    #6679FF

    oklch(63.1% 0.198 273.3)

  7. Step 600

    600

    #505CF0

    oklch(55.6% 0.219 273.3)

  8. Step 700

    700

    #424AD1

    oklch(49% 0.204 273.5)

  9. Step 800

    800

    #363EA9

    oklch(42.7% 0.169 273.5)

  10. Step 900

    900

    #2E3786

    oklch(37.8% 0.131 273.5)

  11. Step 950

    950

    #1A214E

    oklch(27% 0.083 273)

Export this scale for Tailwind in the Tailwind colors tool

#798DF7 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)#619AFB0.039
Deuteranopia (no green cones)#538FF50.041
Tritanopia (no blue cones)#41A4B60.140
Achromatopsia (no color)#9494940.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #798DF7

    #798DF7

    oklch(67.6% 0.158 273.4)

  • #B49400

    #B49400

    oklch(67.6% 0.139 93.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798DF7

    #798DF7

    oklch(67.6% 0.158 273.4)

  • #1C9FF0

    #1C9FF0

    oklch(67.6% 0.158 243.6)

  • #AC7CE6

    #AC7CE6

    oklch(67.7% 0.158 303.4)

Open the analogous palette in the generator

Split complementary

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

  • #798DF7

    #798DF7

    oklch(67.6% 0.158 273.4)

  • #D77E00

    #D77E00

    oklch(67.5% 0.154 63.3)

  • #84A61D

    #84A61D

    oklch(67.6% 0.158 123.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798DF7

    #798DF7

    oklch(67.6% 0.158 273.4)

  • #E76D53

    #E76D53

    oklch(67.6% 0.157 33.5)

  • #2CB267

    #2CB267

    oklch(67.6% 0.158 153.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798DF7

    #798DF7

    oklch(67.6% 0.158 273.4)

  • #E4688D

    #E4688D

    oklch(67.7% 0.158 3.5)

  • #B49400

    #B49400

    oklch(67.6% 0.139 93.4)

  • #00AF9F

    #00AF9F

    oklch(67.7% 0.12 183.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #798DF7.

Similar named colors

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

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