#798DEB

Closest named color: Cornflower Blue (#6495ED). oklch(66.9% 0.141 273), rgb(121, 141, 235).

Aa

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

About this color

#798DEB is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.141 and its hue 273°. 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.82:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.141)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text6.82:1
White text3.07:1

Values

HEX#798DEB
RGBrgb(121, 141, 235)
HSLhsl(229, 74%, 70%)
OKLCHoklch(66.9% 0.141 273)

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 #798DEB 3.07:1 AA large text Lc -62.9 Content text, not long reading
Black text on #798DEB 6.82:1 AA Lc 46.5 Large or bold text, headings
#798DEB text on white 3.07:1 AA large text Lc 57.6 Large or bold text, headings
#798DEB text on black 6.82:1 AA Lc -44.2 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

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CED8FA

    oklch(88.5% 0.048 272.4)

  4. Step 300

    300

    #ADBDFA

    oklch(80.8% 0.088 272.9)

  5. Step 400

    400 (this color)

    #798DEB

    oklch(66.9% 0.141 273)

  6. Step 500

    500

    #687CF5

    oklch(63.1% 0.181 273.1)

  7. Step 600

    600

    #5261E3

    oklch(55.5% 0.196 273.2)

  8. Step 700

    700

    #4350C6

    oklch(49.2% 0.182 272.9)

  9. Step 800

    800

    #3742A0

    oklch(42.7% 0.151 273.1)

  10. Step 900

    900

    #2F397F

    oklch(37.7% 0.118 273.3)

  11. Step 950

    950

    #1B224A

    oklch(27% 0.074 273)

Export this scale for Tailwind in the Tailwind colors tool

#798DEB 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)#6898EF0.032
Deuteranopia (no green cones)#5D8EE90.032
Tritanopia (no blue cones)#4BA1B10.125
Achromatopsia (no color)#9393930.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #798DEB

    #798DEB

    oklch(66.9% 0.141 273)

  • #B29200

    #B29200

    oklch(67% 0.137 93.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798DEB

    #798DEB

    oklch(66.9% 0.141 273)

  • #339DE4

    #339DE4

    oklch(66.9% 0.141 243)

  • #A77EDC

    #A77EDC

    oklch(67.1% 0.141 302.9)

Open the analogous palette in the generator

Split complementary

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

  • #798DEB

    #798DEB

    oklch(66.9% 0.141 273)

  • #D17F22

    #D17F22

    oklch(67% 0.141 63)

  • #85A232

    #85A232

    oklch(66.8% 0.141 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798DEB

    #798DEB

    oklch(66.9% 0.141 273)

  • #DE715A

    #DE715A

    oklch(67% 0.141 33.2)

  • #40AD6A

    #40AD6A

    oklch(66.8% 0.141 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798DEB

    #798DEB

    oklch(66.9% 0.141 273)

  • #DA6C8D

    #DA6C8D

    oklch(66.9% 0.141 2.6)

  • #B29200

    #B29200

    oklch(67% 0.137 93.2)

  • #00AC9C

    #00AC9C

    oklch(66.9% 0.119 183.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #798DEB.

Similar named colors

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

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