#798EF4

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

Aa

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

About this color

#798EF4 is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.152 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.98:1.

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

Values

HEX#798EF4
RGBrgb(121, 142, 244)
HSLhsl(230, 85%, 72%)
OKLCHoklch(67.6% 0.152 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 #798EF4 3.00:1 AA large text Lc -61.9 Content text, not long reading
Black text on #798EF4 6.98:1 AA Lc 47.5 Large or bold text, headings
#798EF4 text on white 3.00:1 AA large text Lc 56.6 Large or bold text, headings
#798EF4 text on black 6.98:1 AA Lc -45.2 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

    #ACBDFF

    oklch(80.9% 0.095 273)

  5. Step 400

    400 (this color)

    #798EF4

    oklch(67.6% 0.152 272.9)

  6. Step 500

    500

    #657AFD

    oklch(63.1% 0.195 272.7)

  7. Step 600

    600

    #505EEC

    oklch(55.6% 0.212 273.1)

  8. Step 700

    700

    #414CCD

    oklch(49% 0.197 272.9)

  9. Step 800

    800

    #3540A6

    oklch(42.7% 0.163 272.7)

  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

#798EF4 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)#649AF80.035
Deuteranopia (no green cones)#5890F20.037
Tritanopia (no blue cones)#44A4B50.136
Achromatopsia (no color)#9595950.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #798EF4

    #798EF4

    oklch(67.6% 0.152 272.9)

  • #B59400

    #B59400

    oklch(67.7% 0.139 92.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798EF4

    #798EF4

    oklch(67.6% 0.152 272.9)

  • #259FEC

    #259FEC

    oklch(67.5% 0.152 243.1)

  • #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°).

  • #798EF4

    #798EF4

    oklch(67.6% 0.152 272.9)

  • #D77F0A

    #D77F0A

    oklch(67.7% 0.152 63.3)

  • #86A526

    #86A526

    oklch(67.5% 0.151 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798EF4

    #798EF4

    oklch(67.6% 0.152 272.9)

  • #E56F57

    #E56F57

    oklch(67.6% 0.152 32.9)

  • #36B168

    #36B168

    oklch(67.5% 0.152 153)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798EF4

    #798EF4

    oklch(67.6% 0.152 272.9)

  • #E16A8E

    #E16A8E

    oklch(67.6% 0.152 2.9)

  • #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 #798EF4, closest first.

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

Similar named colors

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

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