#796F7C
Closest named color: Battleship Gray (#6C757D). oklch(55.5% 0.023 318.4), rgb(121, 111, 124).
Aa
White text reads best on this color (4.79:1).
About this color
#796F7C is a medium-dark close to neutral grey. In OKLCH its lightness is 56%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Battleship Gray (#6C757D), ΔE 0.024 away. White text reads best on it, at 4.79:1.
| Hue family | Neutrals |
| Lightness | medium-dark (56%) |
| Chroma | close to neutral grey (0.023) |
| Temperature | neutral |
| Nearest name | Battleship Gray (#6C757D) |
| Black text | 4.37:1 |
| White text | 4.79:1 |
Values
| HEX | #796F7C |
| RGB | rgb(121, 111, 124) |
| HSL | hsl(286, 6%, 46%) |
| OKLCH | oklch(55.5% 0.023 318.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #796F7C | 4.79:1 | AA | Lc -78.7 | Fine for body text |
| Black text on #796F7C | 4.37:1 | AA large text | Lc 30.8 | Non-text elements, placeholder text |
| #796F7C text on white | 4.79:1 | AA | Lc 73.3 | Content text, not long reading |
| #796F7C text on black | 4.37: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.
-
Step 50
50
#F6F5F6
oklch(97.1% 0.002 325.6)
-
Step 100
100
#EBE9EB
oklch(93.6% 0.003 325.6)
-
Step 200
200
#DBD8DB
oklch(88.5% 0.005 325.6)
-
Step 300
300
#C3BFC5
oklch(81% 0.009 314.8)
-
Step 400
400
#A59DA7
oklch(70.6% 0.017 319.5)
-
Step 500
500
#8F8692
oklch(63.2% 0.021 317.7)
-
Step 600
600 (this color)
#796F7C
oklch(55.5% 0.023 318.4)
-
Step 700
700
#665D69
oklch(49.1% 0.022 317.7)
-
Step 800
800
#534C55
oklch(42.7% 0.017 318.7)
-
Step 900
900
#453F46
oklch(37.6% 0.014 321.4)
-
Step 950
950
#282529
oklch(26.9% 0.008 317.7)
#796F7C 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #6E727D | 0.018 |
| Deuteranopia (no green cones) | #70737C | 0.017 |
| Tritanopia (no blue cones) | #797073 | 0.015 |
| Achromatopsia (no color) | #727272 | 0.023 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #796F7C
#796F7C
oklch(55.5% 0.023 318.4)
- #6D7769
#6D7769
oklch(55.7% 0.024 136.7)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #796F7C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Battleship Gray #6C757D ΔE 0.024
- Purple Grey #866F85 ΔE 0.026
- Grey Purple #826D8C ΔE 0.032
- Battleship Grey #6B7C85 ΔE 0.039
- Dim Gray #696969 ΔE 0.041
- Grey Blue #647D8E ΔE 0.047
- Medium Grey #7D7F7C ΔE 0.048
- Slate Gray #708090 ΔE 0.049
Use #796F7C 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.