#798EE3

Closest named color: Cornflower Blue (#6495ED). oklch(66.7% 0.129 272), rgb(121, 142, 227).

Aa

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

About this color

#798EE3 is a medium-light, moderately saturated blue. In OKLCH its lightness is 67%, its chroma 0.129 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 6.79:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromamoderately saturated (0.129)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text6.79:1
White text3.09:1

Values

HEX#798EE3
RGBrgb(121, 142, 227)
HSLhsl(228, 65%, 68%)
OKLCHoklch(66.7% 0.129 272)

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 #798EE3 3.09:1 AA large text Lc -63.1 Content text, not long reading
Black text on #798EE3 6.79:1 AA Lc 46.3 Large or bold text, headings
#798EE3 text on white 3.09:1 AA large text Lc 57.8 Large or bold text, headings
#798EE3 text on black 6.79:1 AA Lc -44.0 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 500.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5E9F6

    oklch(93.5% 0.018 272.3)

  3. Step 200

    200

    #D1D8F1

    oklch(88.5% 0.035 273.2)

  4. Step 300

    300

    #B2BFEA

    oklch(80.9% 0.063 271.8)

  5. Step 400

    400

    #8A9DE0

    oklch(70.7% 0.101 271.5)

  6. Step 500

    500 (this color)

    #798EE3

    oklch(66.7% 0.129 272)

  7. Step 600

    600

    #586BC4

    oklch(55.6% 0.139 272.1)

  8. Step 700

    700

    #4859AA

    oklch(49.2% 0.13 271.9)

  9. Step 800

    800

    #3B4989

    oklch(42.7% 0.107 271.9)

  10. Step 900

    900

    #323D6E

    oklch(37.6% 0.085 272.2)

  11. Step 950

    950

    #1D2440

    oklch(26.9% 0.053 271.8)

Export this scale for Tailwind in the Tailwind colors tool

#798EE3 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)#6E97E60.025
Deuteranopia (no green cones)#648EE10.025
Tritanopia (no blue cones)#51A0AE0.115
Achromatopsia (no color)#9292920.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #798EE3

    #798EE3

    oklch(66.7% 0.129 272)

  • #B1911D

    #B1911D

    oklch(66.8% 0.129 91.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798EE3

    #798EE3

    oklch(66.7% 0.129 272)

  • #3F9DDC

    #3F9DDC

    oklch(66.8% 0.128 241.8)

  • #A380D6

    #A380D6

    oklch(66.7% 0.129 301.8)

Open the analogous palette in the generator

Split complementary

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

  • #798EE3

    #798EE3

    oklch(66.7% 0.129 272)

  • #CC8035

    #CC8035

    oklch(66.7% 0.129 61.6)

  • #87A03D

    #87A03D

    oklch(66.6% 0.129 122)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798EE3

    #798EE3

    oklch(66.7% 0.129 272)

  • #D77461

    #D77461

    oklch(66.7% 0.128 32)

  • #4EAB6C

    #4EAB6C

    oklch(66.8% 0.129 151.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798EE3

    #798EE3

    oklch(66.7% 0.129 272)

  • #D4708E

    #D4708E

    oklch(66.7% 0.129 2.1)

  • #B1911D

    #B1911D

    oklch(66.8% 0.129 91.9)

  • #00AC9A

    #00AC9A

    oklch(66.8% 0.12 181.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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