#797D98

Closest named color: Lavender Gray (#7E7F9A). oklch(59.6% 0.041 278.4), rgb(121, 125, 152).

Aa

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

About this color

#797D98 is a medium-dark, muted blue. In OKLCH its lightness is 60%, its chroma 0.041 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.010 away. Black text reads best on it, at 5.19:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamuted (0.041)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.19:1
White text4.03:1

Values

HEX#797D98
RGBrgb(121, 125, 152)
HSLhsl(232, 13%, 54%)
OKLCHoklch(59.6% 0.041 278.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 #797D98 4.03:1 AA large text Lc -73.2 Content text, not long reading
Black text on #797D98 5.19:1 AA Lc 36.4 Non-text elements, placeholder text
#797D98 text on white 4.03:1 AA large text Lc 67.6 Content text, not long reading
#797D98 text on black 5.19:1 AA Lc -34.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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9EE

    oklch(93.5% 0.007 286.3)

  3. Step 200

    200

    #D7D8E1

    oklch(88.4% 0.012 281.1)

  4. Step 300

    300

    #BDC0CE

    oklch(81% 0.02 276.3)

  5. Step 400

    400

    #9C9FB5

    oklch(70.7% 0.032 279.4)

  6. Step 500

    500 (this color)

    #797D98

    oklch(59.6% 0.041 278.4)

  7. Step 600

    600

    #6D718E

    oklch(55.6% 0.045 278.7)

  8. Step 700

    700

    #5B5F79

    oklch(49.2% 0.042 277.9)

  9. Step 800

    800

    #4A4D62

    oklch(42.6% 0.035 278.4)

  10. Step 900

    900

    #3E4050

    oklch(37.6% 0.027 279.4)

  11. Step 950

    950

    #24262F

    oklch(27% 0.017 275.4)

Export this scale for Tailwind in the Tailwind colors tool

#797D98 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)#7680990.009
Deuteranopia (no green cones)#747D970.007
Tritanopia (no blue cones)#7282860.037
Achromatopsia (no color)#7E7E7E0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #797D98

    #797D98

    oklch(59.6% 0.041 278.4)

  • #858064

    #858064

    oklch(59.7% 0.041 99.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797D98

    #797D98

    oklch(59.6% 0.041 278.4)

  • #6C8297

    #6C8297

    oklch(59.7% 0.041 247.3)

  • #867992

    #867992

    oklch(59.6% 0.04 308.6)

Open the analogous palette in the generator

Split complementary

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

  • #797D98

    #797D98

    oklch(59.6% 0.041 278.4)

  • #907B65

    #907B65

    oklch(59.6% 0.041 68.2)

  • #78846A

    #78846A

    oklch(59.6% 0.041 127.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797D98

    #797D98

    oklch(59.6% 0.041 278.4)

  • #96776D

    #96776D

    oklch(59.6% 0.042 38.6)

  • #6B8776

    #6B8776

    oklch(59.7% 0.041 158.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797D98

    #797D98

    oklch(59.6% 0.041 278.4)

  • #96757A

    #96757A

    oklch(59.6% 0.042 8.2)

  • #858064

    #858064

    oklch(59.7% 0.041 99.1)

  • #638784

    #638784

    oklch(59.5% 0.041 189.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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