#798EF6

Closest named color: Lavender Blue (#8B88F8). oklch(67.8% 0.155 273), rgb(121, 142, 246).

Aa

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

About this color

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

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

Values

HEX#798EF6
RGBrgb(121, 142, 246)
HSLhsl(230, 87%, 72%)
OKLCHoklch(67.8% 0.155 273)

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 #798EF6 2.99:1 Fails Lc -61.8 Content text, not long reading
Black text on #798EF6 7.01:1 AAA Lc 47.6 Large or bold text, headings
#798EF6 text on white 2.99:1 Fails Lc 56.4 Large or bold text, headings
#798EF6 text on black 7.01:1 AAA Lc -45.3 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

    #CDD8FE

    oklch(88.6% 0.054 272.5)

  4. Step 300

    300

    #ACBDFF

    oklch(80.9% 0.095 273)

  5. Step 400

    400 (this color)

    #798EF6

    oklch(67.8% 0.155 273)

  6. Step 500

    500

    #6579FF

    oklch(63.1% 0.198 273)

  7. Step 600

    600

    #505DEE

    oklch(55.6% 0.215 273.2)

  8. Step 700

    700

    #414CCF

    oklch(49.2% 0.199 272.9)

  9. Step 800

    800

    #353FA7

    oklch(42.6% 0.165 272.9)

  10. Step 900

    900

    #2D3785

    oklch(37.7% 0.13 273)

  11. Step 950

    950

    #1A214E

    oklch(27% 0.083 273)

Export this scale for Tailwind in the Tailwind colors tool

#798EF6 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)#639BFA0.038
Deuteranopia (no green cones)#5690F40.038
Tritanopia (no blue cones)#42A4B60.137
Achromatopsia (no color)#9595950.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #798EF6

    #798EF6

    oklch(67.8% 0.155 273)

  • #B59400

    #B59400

    oklch(67.7% 0.139 92.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798EF6

    #798EF6

    oklch(67.8% 0.155 273)

  • #20A0EE

    #20A0EE

    oklch(67.8% 0.154 242.8)

  • #AB7DE5

    #AB7DE5

    oklch(67.7% 0.155 302.9)

Open the analogous palette in the generator

Split complementary

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

  • #798EF6

    #798EF6

    oklch(67.8% 0.155 273)

  • #D87E00

    #D87E00

    oklch(67.6% 0.154 62.9)

  • #86A622

    #86A622

    oklch(67.7% 0.155 123)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798EF6

    #798EF6

    oklch(67.8% 0.155 273)

  • #E76E56

    #E76E56

    oklch(67.8% 0.155 32.7)

  • #33B268

    #33B268

    oklch(67.7% 0.154 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798EF6

    #798EF6

    oklch(67.8% 0.155 273)

  • #E3698E

    #E3698E

    oklch(67.7% 0.156 3.1)

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

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

Similar named colors

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

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