#798FD9

Closest named color: Cornflower Blue (#6495ED). oklch(66.4% 0.113 270.5), rgb(121, 143, 217).

Aa

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

About this color

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

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

Values

HEX#798FD9
RGBrgb(121, 143, 217)
HSLhsl(226, 56%, 66%)
OKLCHoklch(66.4% 0.113 270.5)

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 #798FD9 3.11:1 AA large text Lc -63.5 Content text, not long reading
Black text on #798FD9 6.74:1 AA Lc 46.0 Large or bold text, headings
#798FD9 text on white 3.11:1 AA large text Lc 58.1 Large or bold text, headings
#798FD9 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

    #E6EAF5

    oklch(93.7% 0.015 270)

  3. Step 200

    200

    #D1D9EE

    oklch(88.6% 0.03 269.1)

  4. Step 300

    300

    #B3BFE5

    oklch(80.8% 0.055 271.4)

  5. Step 400

    400

    #8B9ED9

    oklch(70.7% 0.089 270.3)

  6. Step 500

    500 (this color)

    #798FD9

    oklch(66.4% 0.113 270.5)

  7. Step 600

    600

    #586DBB

    oklch(55.5% 0.124 270.6)

  8. Step 700

    700

    #485BA1

    oklch(49% 0.114 270.3)

  9. Step 800

    800

    #3B4B83

    oklch(42.8% 0.095 270)

  10. Step 900

    900

    #333F69

    oklch(37.8% 0.074 270.5)

  11. Step 950

    950

    #1E253D

    oklch(27% 0.046 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#798FD9 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)#7496DC0.018
Deuteranopia (no green cones)#6B8ED70.018
Tritanopia (no blue cones)#579EAA0.101
Achromatopsia (no color)#9292920.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #798FD9

    #798FD9

    oklch(66.4% 0.113 270.5)

  • #AE9036

    #AE9036

    oklch(66.4% 0.113 90.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798FD9

    #798FD9

    oklch(66.4% 0.113 270.5)

  • #4A9CD2

    #4A9CD2

    oklch(66.5% 0.113 240.4)

  • #9F82CE

    #9F82CE

    oklch(66.3% 0.114 300.9)

Open the analogous palette in the generator

Split complementary

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

  • #798FD9

    #798FD9

    oklch(66.4% 0.113 270.5)

  • #C58245

    #C58245

    oklch(66.4% 0.113 61.1)

  • #8A9E49

    #8A9E49

    oklch(66.5% 0.114 120.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798FD9

    #798FD9

    oklch(66.4% 0.113 270.5)

  • #CF7769

    #CF7769

    oklch(66.3% 0.113 30)

  • #5BA76E

    #5BA76E

    oklch(66.4% 0.114 150.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798FD9

    #798FD9

    oklch(66.4% 0.113 270.5)

  • #CC7490

    #CC7490

    oklch(66.4% 0.115 0.3)

  • #AE9036

    #AE9036

    oklch(66.4% 0.113 90.3)

  • #22AA97

    #22AA97

    oklch(66.5% 0.113 180.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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