#797D97

Closest named color: Lavender Gray (#7E7F9A). oklch(59.6% 0.04 278.2), rgb(121, 125, 151).

Aa

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

About this color

#797D97 is a medium-dark, muted blue. In OKLCH its lightness is 60%, its chroma 0.040 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.040)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.19:1
White text4.04:1

Values

HEX#797D97
RGBrgb(121, 125, 151)
HSLhsl(232, 13%, 53%)
OKLCHoklch(59.6% 0.04 278.2)

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 #797D97 4.04:1 AA large text Lc -73.2 Content text, not long reading
Black text on #797D97 5.19:1 AA Lc 36.4 Non-text elements, placeholder text
#797D97 text on white 4.04:1 AA large text Lc 67.7 Content text, not long reading
#797D97 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

    #D7D8E0

    oklch(88.4% 0.011 280.5)

  4. Step 300

    300

    #BDC0CD

    oklch(80.9% 0.018 275.6)

  5. Step 400

    400

    #9C9FB4

    oklch(70.7% 0.031 279.1)

  6. Step 500

    500 (this color)

    #797D97

    oklch(59.6% 0.04 278.2)

  7. Step 600

    600

    #6D718D

    oklch(55.6% 0.044 278.5)

  8. Step 700

    700

    #5B5F78

    oklch(49.2% 0.04 277.7)

  9. Step 800

    800

    #4A4D61

    oklch(42.5% 0.033 278.2)

  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

#797D97 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)#767F980.006
Deuteranopia (no green cones)#747D960.007
Tritanopia (no blue cones)#7282860.036
Achromatopsia (no color)#7E7E7E0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #797D97

    #797D97

    oklch(59.6% 0.04 278.2)

  • #858064

    #858064

    oklch(59.7% 0.041 99.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797D97

    #797D97

    oklch(59.6% 0.04 278.2)

  • #6D8196

    #6D8196

    oklch(59.5% 0.04 249.8)

  • #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°).

  • #797D97

    #797D97

    oklch(59.6% 0.04 278.2)

  • #8F7B66

    #8F7B66

    oklch(59.6% 0.039 68.3)

  • #78846B

    #78846B

    oklch(59.6% 0.04 128.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797D97

    #797D97

    oklch(59.6% 0.04 278.2)

  • #95776E

    #95776E

    oklch(59.6% 0.04 37.3)

  • #6B8776

    #6B8776

    oklch(59.7% 0.041 158.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797D97

    #797D97

    oklch(59.6% 0.04 278.2)

  • #95757A

    #95757A

    oklch(59.5% 0.041 7.9)

  • #858064

    #858064

    oklch(59.7% 0.041 99.1)

  • #648783

    #648783

    oklch(59.6% 0.04 187.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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