#797B89

Closest named color: Slate Gray (#708090). oklch(58.6% 0.021 279.3), rgb(121, 123, 137).

Aa

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

About this color

#797B89 is a medium-dark close to neutral grey. In OKLCH its lightness is 59%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Slate Gray (#708090), ΔE 0.018 away. Black text reads best on it, at 5.00:1.

Hue familyNeutrals
Lightnessmedium-dark (59%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameSlate Gray (#708090)
Black text5.00:1
White text4.19:1

Values

HEX#797B89
RGBrgb(121, 123, 137)
HSLhsl(232, 6%, 51%)
OKLCHoklch(58.6% 0.021 279.3)

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 #797B89 4.19:1 AA large text Lc -74.4 Content text, not long reading
Black text on #797B89 5.00:1 AA Lc 35.1 Non-text elements, placeholder text
#797B89 text on white 4.19:1 AA large text Lc 68.9 Content text, not long reading
#797B89 text on black 5.00:1 AA Lc -32.7 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 600.

  1. Step 50

    50

    #F5F5F6

    oklch(97% 0.001 286.4)

  2. Step 100

    100

    #E9EAEC

    oklch(93.7% 0.003 264.5)

  3. Step 200

    200

    #D8D9DD

    oklch(88.6% 0.006 275)

  4. Step 300

    300

    #BFC0C7

    oklch(80.9% 0.01 279.7)

  5. Step 400

    400

    #9EA0AA

    oklch(70.7% 0.015 277)

  6. Step 500

    500

    #878896

    oklch(63.1% 0.021 282.5)

  7. Step 600

    600 (this color)

    #797B89

    oklch(58.6% 0.021 279.3)

  8. Step 700

    700

    #5E606C

    oklch(49.2% 0.019 278.2)

  9. Step 800

    800

    #4D4E58

    oklch(42.7% 0.016 281.1)

  10. Step 900

    900

    #404148

    oklch(37.7% 0.012 279.3)

  11. Step 950

    950

    #25262A

    oklch(26.9% 0.008 274.7)

Export this scale for Tailwind in the Tailwind colors tool

#797B89 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)#787C8A0.003
Deuteranopia (no green cones)#777B890.003
Tritanopia (no blue cones)#767D7F0.019
Achromatopsia (no color)#7C7C7C0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #797B89

    #797B89

    oklch(58.6% 0.021 279.3)

  • #7F7D6E

    #7F7D6E

    oklch(58.7% 0.022 100.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797B89

    #797B89

    oklch(58.6% 0.021 279.3)

  • #737D89

    #737D89

    oklch(58.5% 0.022 253)

  • #807986

    #807986

    oklch(58.7% 0.021 309.6)

Open the analogous palette in the generator

Split complementary

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

  • #797B89

    #797B89

    oklch(58.6% 0.021 279.3)

  • #857A6F

    #857A6F

    oklch(58.6% 0.021 67.4)

  • #787F71

    #787F71

    oklch(58.6% 0.022 128.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797B89

    #797B89

    oklch(58.6% 0.021 279.3)

  • #887873

    #887873

    oklch(58.6% 0.021 38.1)

  • #728078

    #728078

    oklch(58.6% 0.02 160.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797B89

    #797B89

    oklch(58.6% 0.021 279.3)

  • #887779

    #887779

    oklch(58.6% 0.021 9.7)

  • #7F7D6E

    #7F7D6E

    oklch(58.7% 0.022 100.8)

  • #6E807F

    #6E807F

    oklch(58.5% 0.021 192.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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