#798FEB

Closest named color: Cornflower Blue (#6495ED). oklch(67.3% 0.138 272.1), rgb(121, 143, 235).

Aa

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

About this color

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

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

Values

HEX#798FEB
RGBrgb(121, 143, 235)
HSLhsl(228, 74%, 70%)
OKLCHoklch(67.3% 0.138 272.1)

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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CED8FA

    oklch(88.5% 0.048 272.4)

  4. Step 300

    300

    #ADBEF9

    oklch(81% 0.086 271.9)

  5. Step 400

    400 (this color)

    #798FEB

    oklch(67.3% 0.138 272.1)

  6. Step 500

    500

    #667DF3

    oklch(63.1% 0.177 272.1)

  7. Step 600

    600

    #5063E2

    oklch(55.7% 0.193 272.1)

  8. Step 700

    700

    #4151C4

    oklch(49.1% 0.179 272)

  9. Step 800

    800

    #35439E

    oklch(42.6% 0.148 272)

  10. Step 900

    900

    #2E3A7E

    oklch(37.8% 0.115 272.2)

  11. Step 950

    950

    #1A224A

    oklch(26.9% 0.075 272)

Export this scale for Tailwind in the Tailwind colors tool

#798FEB 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)#6B99EF0.028
Deuteranopia (no green cones)#6090E90.029
Tritanopia (no blue cones)#4BA2B20.122
Achromatopsia (no color)#9494940.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #798FEB

    #798FEB

    oklch(67.3% 0.138 272.1)

  • #B59200

    #B59200

    oklch(67.3% 0.138 91.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798FEB

    #798FEB

    oklch(67.3% 0.138 272.1)

  • #359FE3

    #359FE3

    oklch(67.4% 0.138 241.7)

  • #A680DD

    #A680DD

    oklch(67.4% 0.138 301.6)

Open the analogous palette in the generator

Split complementary

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

  • #798FEB

    #798FEB

    oklch(67.3% 0.138 272.1)

  • #D2802A

    #D2802A

    oklch(67.4% 0.139 61.8)

  • #88A335

    #88A335

    oklch(67.3% 0.138 122.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798FEB

    #798FEB

    oklch(67.3% 0.138 272.1)

  • #DE735E

    #DE735E

    oklch(67.4% 0.138 32.4)

  • #47AE6A

    #47AE6A

    oklch(67.3% 0.139 151.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798FEB

    #798FEB

    oklch(67.3% 0.138 272.1)

  • #DA6E8F

    #DA6E8F

    oklch(67.2% 0.139 2.1)

  • #B59200

    #B59200

    oklch(67.3% 0.138 91.6)

  • #00AE9C

    #00AE9C

    oklch(67.4% 0.121 182.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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