#798DDB

Closest named color: Perrywinkle (#8F8CE7). oklch(66.1% 0.119 271.9), rgb(121, 141, 219).

Aa

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

About this color

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

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

Values

HEX#798DDB
RGBrgb(121, 141, 219)
HSLhsl(228, 58%, 67%)
OKLCHoklch(66.1% 0.119 271.9)

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 #798DDB 3.15:1 AA large text Lc -64.0 Content text, not long reading
Black text on #798DDB 6.64:1 AA Lc 45.4 Large or bold text, headings
#798DDB text on white 3.15:1 AA large text Lc 58.6 Large or bold text, headings
#798DDB text on black 6.64:1 AA Lc -43.1 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

    #D1D8EF

    oklch(88.4% 0.033 272.2)

  4. Step 300

    300

    #B3BFE7

    oklch(80.9% 0.058 272)

  5. Step 400

    400

    #8C9DDB

    oklch(70.7% 0.093 272.1)

  6. Step 500

    500 (this color)

    #798DDB

    oklch(66.1% 0.119 271.9)

  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

    #333E6A

    oklch(37.6% 0.077 271.7)

  11. Step 950

    950

    #1E253E

    oklch(27.1% 0.048 271.1)

Export this scale for Tailwind in the Tailwind colors tool

#798DDB 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)#7195DE0.022
Deuteranopia (no green cones)#688DD90.021
Tritanopia (no blue cones)#569DAA0.105
Achromatopsia (no color)#9191910.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #798DDB

    #798DDB

    oklch(66.1% 0.119 271.9)

  • #AD8F2D

    #AD8F2D

    oklch(66% 0.118 91.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798DDB

    #798DDB

    oklch(66.1% 0.119 271.9)

  • #469AD4

    #469AD4

    oklch(66% 0.119 241.9)

  • #A080CF

    #A080CF

    oklch(66.1% 0.119 301.9)

Open the analogous palette in the generator

Split complementary

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

  • #798DDB

    #798DDB

    oklch(66.1% 0.119 271.9)

  • #C6803E

    #C6803E

    oklch(66% 0.119 61.5)

  • #869E45

    #869E45

    oklch(66.1% 0.119 122.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798DDB

    #798DDB

    oklch(66.1% 0.119 271.9)

  • #D17564

    #D17564

    oklch(66.1% 0.119 31.5)

  • #54A76D

    #54A76D

    oklch(66.1% 0.119 151.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798DDB

    #798DDB

    oklch(66.1% 0.119 271.9)

  • #CD728D

    #CD728D

    oklch(66.1% 0.118 1.8)

  • #AD8F2D

    #AD8F2D

    oklch(66% 0.118 91.3)

  • #00AA98

    #00AA98

    oklch(66.2% 0.119 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 #798DDB, closest first.

Similar named colors

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

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