#797F9D

Closest named color: Lavender Gray (#7E7F9A). oklch(60.2% 0.046 276.1), rgb(121, 127, 157).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamuted (0.046)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.33:1
White text3.93:1

Values

HEX#797F9D
RGBrgb(121, 127, 157)
HSLhsl(230, 16%, 55%)
OKLCHoklch(60.2% 0.046 276.1)

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 #797F9D 3.93:1 AA large text Lc -72.3 Content text, not long reading
Black text on #797F9D 5.33:1 AA Lc 37.3 Non-text elements, placeholder text
#797F9D text on white 3.93:1 AA large text Lc 66.8 Content text, not long reading
#797F9D text on black 5.33:1 AA Lc -34.9 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

    #E8E9EE

    oklch(93.5% 0.007 277.2)

  3. Step 200

    200

    #D7D9E2

    oklch(88.6% 0.012 276.1)

  4. Step 300

    300

    #BCC0D0

    oklch(81% 0.023 274.7)

  5. Step 400

    400

    #9A9FB8

    oklch(70.7% 0.037 276.5)

  6. Step 500

    500 (this color)

    #797F9D

    oklch(60.2% 0.046 276.1)

  7. Step 600

    600

    #6B7191

    oklch(55.6% 0.05 276.4)

  8. Step 700

    700

    #595F7C

    oklch(49.2% 0.047 275.4)

  9. Step 800

    800

    #494D64

    oklch(42.6% 0.039 276.9)

  10. Step 900

    900

    #3D4052

    oklch(37.6% 0.031 277.4)

  11. Step 950

    950

    #242630

    oklch(27.1% 0.019 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#797F9D 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)#77829E0.008
Deuteranopia (no green cones)#747F9C0.007
Tritanopia (no blue cones)#7084890.041
Achromatopsia (no color)#8080800.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #797F9D

    #797F9D

    oklch(60.2% 0.046 276.1)

  • #898162

    #898162

    oklch(60.2% 0.046 95.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797F9D

    #797F9D

    oklch(60.2% 0.046 276.1)

  • #6B849B

    #6B849B

    oklch(60.2% 0.045 246.4)

  • #887A97

    #887A97

    oklch(60.2% 0.046 306.9)

Open the analogous palette in the generator

Split complementary

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

  • #797F9D

    #797F9D

    oklch(60.2% 0.046 276.1)

  • #947C64

    #947C64

    oklch(60.2% 0.046 66.8)

  • #7A8668

    #7A8668

    oklch(60.2% 0.046 125.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797F9D

    #797F9D

    oklch(60.2% 0.046 276.1)

  • #9A786E

    #9A786E

    oklch(60.3% 0.045 37)

  • #6B8A75

    #6B8A75

    oklch(60.3% 0.047 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797F9D

    #797F9D

    oklch(60.2% 0.046 276.1)

  • #9A767D

    #9A767D

    oklch(60.3% 0.046 5.6)

  • #898162

    #898162

    oklch(60.2% 0.046 95.3)

  • #618A85

    #618A85

    oklch(60.2% 0.046 186.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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