#798EDF

Closest named color: Cornflower Blue (#6495ED). oklch(66.5% 0.123 271.7), rgb(121, 142, 223).

Aa

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

About this color

#798EDF is a medium-light, moderately saturated blue. In OKLCH its lightness is 66%, its chroma 0.123 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.032 away. Black text reads best on it, at 6.74:1.

Hue familyBlues
Lightnessmedium-light (66%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text6.74:1
White text3.11:1

Values

HEX#798EDF
RGBrgb(121, 142, 223)
HSLhsl(228, 61%, 67%)
OKLCHoklch(66.5% 0.123 271.7)

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 #798EDF 3.11:1 AA large text Lc -63.4 Content text, not long reading
Black text on #798EDF 6.74:1 AA Lc 46.0 Large or bold text, headings
#798EDF text on white 3.11:1 AA large text Lc 58.0 Large or bold text, headings
#798EDF text on black 6.74:1 AA Lc -43.7 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

    #D1D8F0

    oklch(88.4% 0.034 272.8)

  4. Step 300

    300

    #B2BFE8

    oklch(80.8% 0.06 271.2)

  5. Step 400

    400

    #8B9DDD

    oklch(70.7% 0.096 271.7)

  6. Step 500

    500 (this color)

    #798EDF

    oklch(66.5% 0.123 271.7)

  7. Step 600

    600

    #586CC1

    oklch(55.6% 0.134 271.5)

  8. Step 700

    700

    #485AA6

    oklch(49.1% 0.123 271.2)

  9. Step 800

    800

    #3B4987

    oklch(42.6% 0.104 271.8)

  10. Step 900

    900

    #333E6C

    oklch(37.8% 0.08 271.9)

  11. Step 950

    950

    #1E243F

    oklch(26.9% 0.051 273)

Export this scale for Tailwind in the Tailwind colors tool

#798EDF 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)#7097E20.024
Deuteranopia (no green cones)#678EDD0.022
Tritanopia (no blue cones)#539FAC0.110
Achromatopsia (no color)#9292920.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #798EDF

    #798EDF

    oklch(66.5% 0.123 271.7)

  • #AF9027

    #AF9027

    oklch(66.4% 0.123 91.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798EDF

    #798EDF

    oklch(66.5% 0.123 271.7)

  • #439CD8

    #439CD8

    oklch(66.5% 0.123 241.6)

  • #A180D2

    #A180D2

    oklch(66.3% 0.123 301.7)

Open the analogous palette in the generator

Split complementary

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

  • #798EDF

    #798EDF

    oklch(66.5% 0.123 271.7)

  • #C9813B

    #C9813B

    oklch(66.6% 0.123 61.9)

  • #889F42

    #889F42

    oklch(66.5% 0.122 121.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798EDF

    #798EDF

    oklch(66.5% 0.123 271.7)

  • #D47563

    #D47563

    oklch(66.5% 0.123 31.8)

  • #52A96D

    #52A96D

    oklch(66.5% 0.123 151.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798EDF

    #798EDF

    oklch(66.5% 0.123 271.7)

  • #D0718E

    #D0718E

    oklch(66.4% 0.123 1.5)

  • #AF9027

    #AF9027

    oklch(66.4% 0.123 91.5)

  • #00AB99

    #00AB99

    oklch(66.5% 0.119 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 #798EDF, closest first.

Similar named colors

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

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