#798CED

Closest named color: Soft Blue (#6488EA). oklch(66.8% 0.145 273.5), rgb(121, 140, 237).

Aa

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

About this color

#798CED is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.145 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.029 away. Black text reads best on it, at 6.78:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.145)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text6.78:1
White text3.09:1

Values

HEX#798CED
RGBrgb(121, 140, 237)
HSLhsl(230, 76%, 70%)
OKLCHoklch(66.8% 0.145 273.5)

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 #798CED 3.09:1 AA large text Lc -63.1 Content text, not long reading
Black text on #798CED 6.78:1 AA Lc 46.3 Large or bold text, headings
#798CED text on white 3.09:1 AA large text Lc 57.7 Large or bold text, headings
#798CED text on black 6.78:1 AA Lc -44.0 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F8

    oklch(93.5% 0.021 274)

  3. Step 200

    200

    #D0D8F4

    oklch(88.5% 0.04 272.9)

  4. Step 300

    300

    #B1BEEF

    oklch(80.8% 0.071 273.1)

  5. Step 400

    400

    #8A9BE7

    oklch(70.7% 0.113 273.6)

  6. Step 500

    500 (this color)

    #798CED

    oklch(66.8% 0.145 273.5)

  7. Step 600

    600

    #5868CE

    oklch(55.7% 0.157 273.5)

  8. Step 700

    700

    #4856B2

    oklch(49.1% 0.146 273.3)

  9. Step 800

    800

    #3B4790

    oklch(42.8% 0.12 273.2)

  10. Step 900

    900

    #323C73

    oklch(37.7% 0.094 273.3)

  11. Step 950

    950

    #1D2343

    oklch(26.8% 0.06 273.7)

Export this scale for Tailwind in the Tailwind colors tool

#798CED 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)#6698F10.035
Deuteranopia (no green cones)#5A8EEB0.035
Tritanopia (no blue cones)#4AA1B10.130
Achromatopsia (no color)#9292920.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #798CED

    #798CED

    oklch(66.8% 0.145 273.5)

  • #B19200

    #B19200

    oklch(66.9% 0.137 93.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798CED

    #798CED

    oklch(66.8% 0.145 273.5)

  • #2F9DE6

    #2F9DE6

    oklch(66.9% 0.144 243.2)

  • #A87CDD

    #A87CDD

    oklch(66.9% 0.145 303.6)

Open the analogous palette in the generator

Split complementary

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

  • #798CED

    #798CED

    oklch(66.8% 0.145 273.5)

  • #D17E18

    #D17E18

    oklch(66.8% 0.145 63.7)

  • #83A32E

    #83A32E

    oklch(66.9% 0.146 123.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798CED

    #798CED

    oklch(66.8% 0.145 273.5)

  • #DF6F57

    #DF6F57

    oklch(66.8% 0.145 33.4)

  • #3AAE69

    #3AAE69

    oklch(66.9% 0.145 153.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798CED

    #798CED

    oklch(66.8% 0.145 273.5)

  • #DC6A8B

    #DC6A8B

    oklch(66.8% 0.146 3.6)

  • #B19200

    #B19200

    oklch(66.9% 0.137 93.7)

  • #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 #798CED, closest first.

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

Similar named colors

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

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