#796F7D

Closest named color: Battleship Gray (#6C757D). oklch(55.6% 0.024 316.4), rgb(121, 111, 125).

Aa

White text reads best on this color (4.79:1).

About this color

#796F7D is a medium-dark close to neutral grey. In OKLCH its lightness is 56%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Battleship Gray (#6C757D), ΔE 0.025 away. White text reads best on it, at 4.79:1.

Hue familyNeutrals
Lightnessmedium-dark (56%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameBattleship Gray (#6C757D)
Black text4.38:1
White text4.79:1

Values

HEX#796F7D
RGBrgb(121, 111, 125)
HSLhsl(283, 6%, 46%)
OKLCHoklch(55.6% 0.024 316.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 #796F7D 4.79:1 AA Lc -78.7 Fine for body text
Black text on #796F7D 4.38:1 AA large text Lc 30.8 Non-text elements, placeholder text
#796F7D text on white 4.79:1 AA Lc 73.3 Content text, not long reading
#796F7D text on black 4.38:1 AA large text Lc -28.4 Dividers and decoration only

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

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EBE9EB

    oklch(93.6% 0.003 325.6)

  3. Step 200

    200

    #DBD8DC

    oklch(88.6% 0.006 317.8)

  4. Step 300

    300

    #C3BEC5

    oklch(80.8% 0.011 316.5)

  5. Step 400

    400

    #A59DA8

    oklch(70.6% 0.018 316.9)

  6. Step 500

    500

    #8F8593

    oklch(63% 0.024 316.4)

  7. Step 600

    600 (this color)

    #796F7D

    oklch(55.6% 0.024 316.4)

  8. Step 700

    700

    #665D6A

    oklch(49.1% 0.023 315.6)

  9. Step 800

    800

    #534C56

    oklch(42.7% 0.019 315.9)

  10. Step 900

    900

    #453F47

    oklch(37.7% 0.016 317.7)

  11. Step 950

    950

    #28252A

    oklch(27% 0.01 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#796F7D 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)#6E727E0.018
Deuteranopia (no green cones)#6F737C0.019
Tritanopia (no blue cones)#7970740.015
Achromatopsia (no color)#7272720.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #796F7D

    #796F7D

    oklch(55.6% 0.024 316.4)

  • #6D7769

    #6D7769

    oklch(55.7% 0.024 136.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796F7D

    #796F7D

    oklch(55.6% 0.024 316.4)

  • #727181

    #727181

    oklch(55.5% 0.025 288.4)

  • #7F6E76

    #7F6E76

    oklch(55.7% 0.024 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #796F7D

    #796F7D

    oklch(55.6% 0.024 316.4)

  • #757464

    #757464

    oklch(55.5% 0.024 104.2)

  • #667870

    #667870

    oklch(55.5% 0.025 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796F7D

    #796F7D

    oklch(55.6% 0.024 316.4)

  • #7C7264

    #7C7264

    oklch(55.7% 0.024 76.4)

  • #637878

    #637878

    oklch(55.6% 0.025 196.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796F7D

    #796F7D

    oklch(55.6% 0.024 316.4)

  • #806F67

    #806F67

    oklch(55.5% 0.025 46.8)

  • #6D7769

    #6D7769

    oklch(55.7% 0.024 136.7)

  • #65767E

    #65767E

    oklch(55.5% 0.024 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #796F7D 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.