#798AC7

Closest named color: Faded Blue (#658CBB). oklch(64.4% 0.094 271.6), rgb(121, 138, 199).

Aa

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

About this color

#798AC7 is a medium-light, moderately saturated blue. In OKLCH its lightness is 64%, its chroma 0.094 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Faded Blue (#658CBB), ΔE 0.033 away. Black text reads best on it, at 6.27:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromamoderately saturated (0.094)
Temperaturecool
Nearest nameFaded Blue (#658CBB)
Black text6.27:1
White text3.34:1

Values

HEX#798AC7
RGBrgb(121, 138, 199)
HSLhsl(227, 41%, 63%)
OKLCHoklch(64.4% 0.094 271.6)

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 #798AC7 3.34:1 AA large text Lc -66.3 Content text, not long reading
Black text on #798AC7 6.27:1 AA Lc 43.2 Non-text elements, placeholder text
#798AC7 text on white 3.34:1 AA large text Lc 60.9 Content text, not long reading
#798AC7 text on black 6.27:1 AA Lc -40.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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D3D9EB

    oklch(88.6% 0.026 271.1)

  4. Step 300

    300

    #B6C0DF

    oklch(81% 0.045 271.2)

  5. Step 400

    400

    #909ECF

    oklch(70.6% 0.074 272.1)

  6. Step 500

    500 (this color)

    #798AC7

    oklch(64.4% 0.094 271.6)

  7. Step 600

    600

    #5E6FAF

    oklch(55.6% 0.102 271.5)

  8. Step 700

    700

    #4E5C96

    oklch(49% 0.095 272.2)

  9. Step 800

    800

    #404C7A

    oklch(42.8% 0.078 271.7)

  10. Step 900

    900

    #363F62

    oklch(37.6% 0.061 272.2)

  11. Step 950

    950

    #20253A

    oklch(27% 0.04 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#798AC7 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)#7690CA0.016
Deuteranopia (no green cones)#6F89C60.014
Tritanopia (no blue cones)#6196A00.083
Achromatopsia (no color)#8C8C8C0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #798AC7

    #798AC7

    oklch(64.4% 0.094 271.6)

  • #A28C46

    #A28C46

    oklch(64.5% 0.094 92.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798AC7

    #798AC7

    oklch(64.4% 0.094 271.6)

  • #5694C2

    #5694C2

    oklch(64.4% 0.095 242.3)

  • #9880BD

    #9880BD

    oklch(64.5% 0.093 301.9)

Open the analogous palette in the generator

Split complementary

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

  • #798AC7

    #798AC7

    oklch(64.4% 0.094 271.6)

  • #B7804F

    #B7804F

    oklch(64.5% 0.094 61.6)

  • #849754

    #849754

    oklch(64.5% 0.094 122)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798AC7

    #798AC7

    oklch(64.4% 0.094 271.6)

  • #C0786A

    #C0786A

    oklch(64.6% 0.094 31.7)

  • #609E71

    #609E71

    oklch(64.5% 0.093 151.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798AC7

    #798AC7

    oklch(64.4% 0.094 271.6)

  • #BD7589

    #BD7589

    oklch(64.5% 0.093 2.1)

  • #A28C46

    #A28C46

    oklch(64.5% 0.094 92.2)

  • #3EA091

    #3EA091

    oklch(64.4% 0.094 181.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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