#797174

Closest named color: Battleship Gray (#6C757D). oklch(55.7% 0.011 352.6), rgb(121, 113, 116).

Aa

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

About this color

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

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

Values

HEX#797174
RGBrgb(121, 113, 116)
HSLhsl(338, 3%, 46%)
OKLCHoklch(55.7% 0.011 352.6)

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 #797174 4.74:1 AA Lc -78.4 Fine for body text
Black text on #797174 4.42:1 AA large text Lc 31.1 Non-text elements, placeholder text
#797174 text on white 4.74:1 AA Lc 73.0 Content text, not long reading
#797174 text on black 4.42:1 AA large text Lc -28.7 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

    #F6F5F5

    oklch(97.1% 0.001 17.2)

  2. Step 100

    100

    #EBE9EA

    oklch(93.6% 0.003 345.2)

  3. Step 200

    200

    #DBD8D9

    oklch(88.5% 0.004 354.7)

  4. Step 300

    300

    #C3BFC1

    oklch(80.8% 0.005 345.3)

  5. Step 400

    400

    #A59FA1

    oklch(70.8% 0.008 354.9)

  6. Step 500

    500

    #8F878A

    oklch(63.1% 0.011 352.6)

  7. Step 600

    600 (this color)

    #797174

    oklch(55.7% 0.011 352.6)

  8. Step 700

    700

    #665E61

    oklch(49% 0.011 352.7)

  9. Step 800

    800

    #534D4F

    oklch(42.7% 0.009 355.2)

  10. Step 900

    900

    #454042

    oklch(37.7% 0.008 351.2)

  11. Step 950

    950

    #282627

    oklch(27.1% 0.003 345.5)

Export this scale for Tailwind in the Tailwind colors tool

#797174 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)#7272740.011
Deuteranopia (no green cones)#7373740.010
Tritanopia (no blue cones)#7A71720.003
Achromatopsia (no color)#7373730.011

Harmonies

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

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

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

Similar named colors

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

Use #797174 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.