#798EDC

Closest named color: Cornflower Blue (#6495ED). oklch(66.3% 0.119 271.4), rgb(121, 142, 220).

Aa

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

About this color

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

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

Values

HEX#798EDC
RGBrgb(121, 142, 220)
HSLhsl(227, 59%, 67%)
OKLCHoklch(66.3% 0.119 271.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 #798EDC 3.12:1 AA large text Lc -63.6 Content text, not long reading
Black text on #798EDC 6.71:1 AA Lc 45.8 Large or bold text, headings
#798EDC text on white 3.12:1 AA large text Lc 58.2 Large or bold text, headings
#798EDC text on black 6.71:1 AA Lc -43.5 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

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D1D8EF

    oklch(88.4% 0.033 272.2)

  4. Step 300

    300

    #B3BFE7

    oklch(80.9% 0.058 272)

  5. Step 400

    400

    #8B9DDB

    oklch(70.6% 0.093 271.4)

  6. Step 500

    500 (this color)

    #798EDC

    oklch(66.3% 0.119 271.4)

  7. Step 600

    600

    #596CBE

    oklch(55.5% 0.129 271.8)

  8. Step 700

    700

    #495AA4

    oklch(49.1% 0.12 271.6)

  9. Step 800

    800

    #3C4A85

    oklch(42.7% 0.099 271.6)

  10. Step 900

    900

    #333E6B

    oklch(37.7% 0.078 271.8)

  11. Step 950

    950

    #1E253E

    oklch(27.1% 0.048 271.1)

Export this scale for Tailwind in the Tailwind colors tool

#798EDC 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)#7296DF0.021
Deuteranopia (no green cones)#698EDA0.020
Tritanopia (no blue cones)#559EAB0.106
Achromatopsia (no color)#9292920.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #798EDC

    #798EDC

    oklch(66.3% 0.119 271.4)

  • #AE902E

    #AE902E

    oklch(66.3% 0.119 91.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798EDC

    #798EDC

    oklch(66.3% 0.119 271.4)

  • #469BD5

    #469BD5

    oklch(66.2% 0.119 241.6)

  • #A081D0

    #A081D0

    oklch(66.3% 0.119 301.3)

Open the analogous palette in the generator

Split complementary

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

  • #798EDC

    #798EDC

    oklch(66.3% 0.119 271.4)

  • #C7813F

    #C7813F

    oklch(66.4% 0.119 61.5)

  • #889E45

    #889E45

    oklch(66.3% 0.118 121.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798EDC

    #798EDC

    oklch(66.3% 0.119 271.4)

  • #D27665

    #D27665

    oklch(66.4% 0.119 31.5)

  • #55A86D

    #55A86D

    oklch(66.4% 0.12 151.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798EDC

    #798EDC

    oklch(66.3% 0.119 271.4)

  • #CE728E

    #CE728E

    oklch(66.3% 0.119 1.4)

  • #AE902E

    #AE902E

    oklch(66.3% 0.119 91.3)

  • #04AA98

    #04AA98

    oklch(66.2% 0.118 181.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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