#798EF0

Closest named color: Cornflower Blue (#6495ED). oklch(67.4% 0.147 272.8), rgb(121, 142, 240).

Aa

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

About this color

#798EF0 is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.147 and its hue 273°. 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 6.94:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.147)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text6.94:1
White text3.02:1

Values

HEX#798EF0
RGBrgb(121, 142, 240)
HSLhsl(229, 80%, 71%)
OKLCHoklch(67.4% 0.147 272.8)

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 #798EF0 3.02:1 AA large text Lc -62.2 Content text, not long reading
Black text on #798EF0 6.94:1 AA Lc 47.2 Large or bold text, headings
#798EF0 text on white 3.02:1 AA large text Lc 56.9 Large or bold text, headings
#798EF0 text on black 6.94:1 AA Lc -44.9 Non-text elements, placeholder text

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

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CDD8FC

    oklch(88.5% 0.051 271.9)

  4. Step 300

    300

    #ACBDFC

    oklch(80.8% 0.091 272.6)

  5. Step 400

    400 (this color)

    #798EF0

    oklch(67.4% 0.147 272.8)

  6. Step 500

    500

    #667BF9

    oklch(63.1% 0.188 272.8)

  7. Step 600

    600

    #5060E8

    oklch(55.6% 0.204 272.7)

  8. Step 700

    700

    #424ECA

    oklch(49.1% 0.19 272.9)

  9. Step 800

    800

    #3641A3

    oklch(42.7% 0.157 272.9)

  10. Step 900

    900

    #2E3881

    oklch(37.6% 0.123 273.2)

  11. Step 950

    950

    #1B224C

    oklch(27.1% 0.078 273)

Export this scale for Tailwind in the Tailwind colors tool

#798EF0 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)#679AF40.034
Deuteranopia (no green cones)#5B8FEE0.034
Tritanopia (no blue cones)#47A3B30.131
Achromatopsia (no color)#9494940.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #798EF0

    #798EF0

    oklch(67.4% 0.147 272.8)

  • #B49300

    #B49300

    oklch(67.4% 0.138 92.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798EF0

    #798EF0

    oklch(67.4% 0.147 272.8)

  • #2C9FE9

    #2C9FE9

    oklch(67.5% 0.147 242.8)

  • #A97EE0

    #A97EE0

    oklch(67.5% 0.146 302.9)

Open the analogous palette in the generator

Split complementary

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

  • #798EF0

    #798EF0

    oklch(67.4% 0.147 272.8)

  • #D57F1A

    #D57F1A

    oklch(67.5% 0.147 62.6)

  • #86A42C

    #86A42C

    oklch(67.3% 0.147 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798EF0

    #798EF0

    oklch(67.4% 0.147 272.8)

  • #E27059

    #E27059

    oklch(67.4% 0.147 32.8)

  • #3DB069

    #3DB069

    oklch(67.5% 0.147 152.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798EF0

    #798EF0

    oklch(67.4% 0.147 272.8)

  • #DE6C8E

    #DE6C8E

    oklch(67.5% 0.146 2.9)

  • #B49300

    #B49300

    oklch(67.4% 0.138 92.8)

  • #00AE9D

    #00AE9D

    oklch(67.4% 0.12 182.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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