#798FF2

Closest named color: Cornflower Blue (#6495ED). oklch(67.7% 0.148 272.4), rgb(121, 143, 242).

Aa

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

About this color

#798FF2 is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.148 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.029 away. Black text reads best on it, at 7.02:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.148)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.02:1
White text2.98:1

Values

HEX#798FF2
RGBrgb(121, 143, 242)
HSLhsl(229, 82%, 71%)
OKLCHoklch(67.7% 0.148 272.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 #798FF2 2.98:1 Fails Lc -61.7 Content text, not long reading
Black text on #798FF2 7.02:1 AAA Lc 47.7 Large or bold text, headings
#798FF2 text on white 2.98:1 Fails Lc 56.4 Large or bold text, headings
#798FF2 text on black 7.02:1 AAA Lc -45.4 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

    #E3E9FC

    oklch(93.5% 0.027 271.9)

  3. Step 200

    200

    #CDD8FC

    oklch(88.5% 0.051 271.9)

  4. Step 300

    300

    #ACBDFD

    oklch(80.9% 0.093 272.7)

  5. Step 400

    400 (this color)

    #798FF2

    oklch(67.7% 0.148 272.4)

  6. Step 500

    500

    #657BFA

    oklch(63.1% 0.189 272.4)

  7. Step 600

    600

    #4F60E9

    oklch(55.6% 0.206 272.4)

  8. Step 700

    700

    #414ECB

    oklch(49.2% 0.192 272.6)

  9. Step 800

    800

    #3541A4

    oklch(42.8% 0.159 272.5)

  10. Step 900

    900

    #2D3882

    oklch(37.6% 0.124 272.6)

  11. Step 950

    950

    #1A224C

    oklch(27.1% 0.078 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#798FF2 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)#679BF60.034
Deuteranopia (no green cones)#5B90F00.034
Tritanopia (no blue cones)#45A4B50.132
Achromatopsia (no color)#9595950.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #798FF2

    #798FF2

    oklch(67.7% 0.148 272.4)

  • #B69400

    #B69400

    oklch(67.8% 0.139 92.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798FF2

    #798FF2

    oklch(67.7% 0.148 272.4)

  • #2AA0EA

    #2AA0EA

    oklch(67.7% 0.148 242.4)

  • #A97FE2

    #A97FE2

    oklch(67.7% 0.147 302.2)

Open the analogous palette in the generator

Split complementary

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

  • #798FF2

    #798FF2

    oklch(67.7% 0.148 272.4)

  • #D67F19

    #D67F19

    oklch(67.6% 0.148 62.4)

  • #88A52B

    #88A52B

    oklch(67.7% 0.148 122.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798FF2

    #798FF2

    oklch(67.7% 0.148 272.4)

  • #E4705A

    #E4705A

    oklch(67.7% 0.149 32.2)

  • #3DB169

    #3DB169

    oklch(67.8% 0.148 152.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798FF2

    #798FF2

    oklch(67.7% 0.148 272.4)

  • #E06C8F

    #E06C8F

    oklch(67.8% 0.148 2.8)

  • #B69400

    #B69400

    oklch(67.8% 0.139 92.4)

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

Similar named colors

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

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