#797D9F

Closest named color: Lavender Gray (#7E7F9A). oklch(59.9% 0.052 279.5), rgb(121, 125, 159).

Aa

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

About this color

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

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

Values

HEX#797D9F
RGBrgb(121, 125, 159)
HSLhsl(234, 17%, 55%)
OKLCHoklch(59.9% 0.052 279.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 #797D9F 4.00:1 AA large text Lc -72.8 Content text, not long reading
Black text on #797D9F 5.24:1 AA Lc 36.8 Non-text elements, placeholder text
#797D9F text on white 4.00:1 AA large text Lc 67.3 Content text, not long reading
#797D9F text on black 5.24:1 AA Lc -34.3 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9EF

    oklch(93.6% 0.008 286.2)

  3. Step 200

    200

    #D7D8E3

    oklch(88.5% 0.015 281.9)

  4. Step 300

    300

    #BDBFD1

    oklch(80.9% 0.025 280.8)

  5. Step 400

    400

    #9B9EBA

    oklch(70.6% 0.041 280.5)

  6. Step 500

    500 (this color)

    #797D9F

    oklch(59.9% 0.052 279.5)

  7. Step 600

    600

    #6C7094

    oklch(55.6% 0.056 279.5)

  8. Step 700

    700

    #5A5E7E

    oklch(49.1% 0.051 278.8)

  9. Step 800

    800

    #4A4D67

    oklch(42.8% 0.043 279.3)

  10. Step 900

    900

    #3E4054

    oklch(37.8% 0.034 280.2)

  11. Step 950

    950

    #242531

    oklch(26.9% 0.022 281.1)

Export this scale for Tailwind in the Tailwind colors tool

#797D9F 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)#7480A10.010
Deuteranopia (no green cones)#727E9E0.010
Tritanopia (no blue cones)#7083880.047
Achromatopsia (no color)#7F7F7F0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #797D9F

    #797D9F

    oklch(59.9% 0.052 279.5)

  • #87815D

    #87815D

    oklch(59.9% 0.052 99.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797D9F

    #797D9F

    oklch(59.9% 0.052 279.5)

  • #68839E

    #68839E

    oklch(59.9% 0.052 248.7)

  • #897898

    #897898

    oklch(60% 0.052 308.8)

Open the analogous palette in the generator

Split complementary

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

  • #797D9F

    #797D9F

    oklch(59.9% 0.052 279.5)

  • #947B5E

    #947B5E

    oklch(59.9% 0.052 70.7)

  • #768666

    #768666

    oklch(59.8% 0.051 129.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797D9F

    #797D9F

    oklch(59.9% 0.052 279.5)

  • #9C7669

    #9C7669

    oklch(60% 0.052 39.7)

  • #658A75

    #658A75

    oklch(59.9% 0.052 159.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797D9F

    #797D9F

    oklch(59.9% 0.052 279.5)

  • #9C7379

    #9C7379

    oklch(59.8% 0.052 9)

  • #87815D

    #87815D

    oklch(59.9% 0.052 99.8)

  • #5B8A86

    #5B8A86

    oklch(59.9% 0.051 189.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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