#798CD7

Closest named color: Perrywinkle (#8F8CE7). oklch(65.7% 0.114 272.1), rgb(121, 140, 215).

Aa

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

About this color

#798CD7 is a medium-light, moderately saturated blue. In OKLCH its lightness is 66%, its chroma 0.114 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.039 away. Black text reads best on it, at 6.54:1.

Hue familyBlues
Lightnessmedium-light (66%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.54:1
White text3.20:1

Values

HEX#798CD7
RGBrgb(121, 140, 215)
HSLhsl(228, 54%, 66%)
OKLCHoklch(65.7% 0.114 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 #798CD7 3.20:1 AA large text Lc -64.6 Content text, not long reading
Black text on #798CD7 6.54:1 AA Lc 44.8 Non-text elements, placeholder text
#798CD7 text on white 3.20:1 AA large text Lc 59.2 Large or bold text, headings
#798CD7 text on black 6.54:1 AA Lc -42.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

    #E6E9F5

    oklch(93.5% 0.016 274.8)

  3. Step 200

    200

    #D2D8EE

    oklch(88.4% 0.031 273.6)

  4. Step 300

    300

    #B4BFE6

    oklch(80.9% 0.056 272.7)

  5. Step 400

    400

    #8D9DD9

    oklch(70.6% 0.09 272.4)

  6. Step 500

    500 (this color)

    #798CD7

    oklch(65.7% 0.114 272.1)

  7. Step 600

    600

    #5B6DBB

    oklch(55.7% 0.123 272.1)

  8. Step 700

    700

    #4B5AA2

    oklch(49.1% 0.116 272.6)

  9. Step 800

    800

    #3D4A83

    oklch(42.7% 0.096 272.1)

  10. Step 900

    900

    #343E69

    oklch(37.6% 0.075 272.4)

  11. Step 950

    950

    #1E253D

    oklch(27% 0.046 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#798CD7 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)#7194DA0.022
Deuteranopia (no green cones)#698CD50.020
Tritanopia (no blue cones)#589BA70.102
Achromatopsia (no color)#9090900.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #798CD7

    #798CD7

    oklch(65.7% 0.114 272.1)

  • #AA8F32

    #AA8F32

    oklch(65.8% 0.114 92.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798CD7

    #798CD7

    oklch(65.7% 0.114 272.1)

  • #4A99D1

    #4A99D1

    oklch(65.7% 0.114 242.2)

  • #9E80CB

    #9E80CB

    oklch(65.7% 0.113 301.8)

Open the analogous palette in the generator

Split complementary

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

  • #798CD7

    #798CD7

    oklch(65.7% 0.114 272.1)

  • #C38041

    #C38041

    oklch(65.7% 0.114 61.7)

  • #859C48

    #859C48

    oklch(65.6% 0.114 122.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798CD7

    #798CD7

    oklch(65.7% 0.114 272.1)

  • #CD7564

    #CD7564

    oklch(65.6% 0.114 31.9)

  • #55A56E

    #55A56E

    oklch(65.6% 0.114 152.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798CD7

    #798CD7

    oklch(65.7% 0.114 272.1)

  • #CA728B

    #CA728B

    oklch(65.7% 0.114 2.5)

  • #AA8F32

    #AA8F32

    oklch(65.8% 0.114 92.5)

  • #15A797

    #15A797

    oklch(65.6% 0.114 182.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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