#798EF3

Closest named color: Lavender Blue (#8B88F8). oklch(67.6% 0.151 272.9), rgb(121, 142, 243).

Aa

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

About this color

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

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

Values

HEX#798EF3
RGBrgb(121, 142, 243)
HSLhsl(230, 84%, 71%)
OKLCHoklch(67.6% 0.151 272.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 #798EF3 3.01:1 AA large text Lc -62.0 Content text, not long reading
Black text on #798EF3 6.97:1 AA Lc 47.4 Large or bold text, headings
#798EF3 text on white 3.01:1 AA large text Lc 56.6 Large or bold text, headings
#798EF3 text on black 6.97: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FD

    oklch(93.5% 0.028 272.5)

  3. Step 200

    200

    #CDD8FD

    oklch(88.6% 0.052 272.2)

  4. Step 300

    300

    #ACBDFE

    oklch(80.9% 0.094 272.8)

  5. Step 400

    400 (this color)

    #798EF3

    oklch(67.6% 0.151 272.9)

  6. Step 500

    500

    #667AFC

    oklch(63.1% 0.193 273)

  7. Step 600

    600

    #505FEB

    oklch(55.7% 0.209 272.9)

  8. Step 700

    700

    #414DCC

    oklch(49.1% 0.194 272.8)

  9. Step 800

    800

    #3540A5

    oklch(42.6% 0.161 272.8)

  10. Step 900

    900

    #2D3883

    oklch(37.7% 0.126 272.6)

  11. Step 950

    950

    #1A214D

    oklch(26.9% 0.081 272.9)

Export this scale for Tailwind in the Tailwind colors tool

#798EF3 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)#659AF70.035
Deuteranopia (no green cones)#5890F10.037
Tritanopia (no blue cones)#45A4B50.134
Achromatopsia (no color)#9595950.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #798EF3

    #798EF3

    oklch(67.6% 0.151 272.9)

  • #B59400

    #B59400

    oklch(67.7% 0.139 92.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798EF3

    #798EF3

    oklch(67.6% 0.151 272.9)

  • #279FEC

    #279FEC

    oklch(67.5% 0.152 243.3)

  • #AA7DE3

    #AA7DE3

    oklch(67.5% 0.152 302.9)

Open the analogous palette in the generator

Split complementary

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

  • #798EF3

    #798EF3

    oklch(67.6% 0.151 272.9)

  • #D77F0F

    #D77F0F

    oklch(67.7% 0.151 63)

  • #86A527

    #86A527

    oklch(67.5% 0.151 122.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798EF3

    #798EF3

    oklch(67.6% 0.151 272.9)

  • #E46F57

    #E46F57

    oklch(67.5% 0.151 33)

  • #38B168

    #38B168

    oklch(67.6% 0.151 152.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798EF3

    #798EF3

    oklch(67.6% 0.151 272.9)

  • #E06A8E

    #E06A8E

    oklch(67.5% 0.151 2.7)

  • #B59400

    #B59400

    oklch(67.7% 0.139 92.9)

  • #00AF9E

    #00AF9E

    oklch(67.7% 0.121 182.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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