#797ED6

Closest named color: Soft Blue (#6488EA). oklch(62.8% 0.131 279.4), rgb(121, 126, 214).

Aa

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

About this color

#797ED6 is a medium-light, moderately saturated blue. In OKLCH its lightness is 63%, its chroma 0.131 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.041 away. Black text reads best on it, at 5.76:1.

Hue familyBlues
Lightnessmedium-light (63%)
Chromamoderately saturated (0.131)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text5.76:1
White text3.64:1

Values

HEX#797ED6
RGBrgb(121, 126, 214)
HSLhsl(237, 53%, 66%)
OKLCHoklch(62.8% 0.131 279.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 #797ED6 3.64:1 AA large text Lc -69.4 Content text, not long reading
Black text on #797ED6 5.76:1 AA Lc 40.2 Non-text elements, placeholder text
#797ED6 text on white 3.64:1 AA large text Lc 63.9 Content text, not long reading
#797ED6 text on black 5.76:1 AA Lc -37.8 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F7

    oklch(93.7% 0.019 279.5)

  3. Step 200

    200

    #D4D7F1

    oklch(88.5% 0.036 280.4)

  4. Step 300

    300

    #B7BDEA

    oklch(80.9% 0.064 278.9)

  5. Step 400

    400

    #939AE0

    oklch(70.8% 0.102 279)

  6. Step 500

    500 (this color)

    #797ED6

    oklch(62.8% 0.131 279.4)

  7. Step 600

    600

    #6467C4

    oklch(55.7% 0.142 279.3)

  8. Step 700

    700

    #5355AA

    oklch(49.2% 0.133 279.3)

  9. Step 800

    800

    #444689

    oklch(42.7% 0.109 279.4)

  10. Step 900

    900

    #393B6E

    oklch(37.7% 0.086 279.7)

  11. Step 950

    950

    #212340

    oklch(27% 0.054 279.2)

Export this scale for Tailwind in the Tailwind colors tool

#797ED6 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)#5E8AD90.042
Deuteranopia (no green cones)#5883D40.041
Tritanopia (no blue cones)#5B90A00.114
Achromatopsia (no color)#8686860.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #797ED6

    #797ED6

    oklch(62.8% 0.131 279.4)

  • #9C8900

    #9C8900

    oklch(62.8% 0.13 99.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797ED6

    #797ED6

    oklch(62.8% 0.131 279.4)

  • #418DD4

    #418DD4

    oklch(62.8% 0.131 249.4)

  • #A070C4

    #A070C4

    oklch(62.7% 0.132 309.4)

Open the analogous palette in the generator

Split complementary

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

  • #797ED6

    #797ED6

    oklch(62.8% 0.131 279.4)

  • #BB7813

    #BB7813

    oklch(62.9% 0.132 69.4)

  • #6F983A

    #6F983A

    oklch(62.9% 0.132 129.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797ED6

    #797ED6

    oklch(62.8% 0.131 279.4)

  • #CA6948

    #CA6948

    oklch(62.7% 0.132 39.3)

  • #26A06C

    #26A06C

    oklch(62.8% 0.131 159.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797ED6

    #797ED6

    oklch(62.8% 0.131 279.4)

  • #CA6377

    #CA6377

    oklch(62.8% 0.132 9.4)

  • #9C8900

    #9C8900

    oklch(62.8% 0.13 99.4)

  • #009D96

    #009D96

    oklch(62.8% 0.109 189.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #797ED6 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.