#797A87#797A87
#797A87 is a mid, near-neutral grey. Relative luminance 0.197; OKLCH L 58.3% C 0.020 H 282.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #797A87 |
|---|---|
| RGB | rgb(121, 122, 135) |
| HSL | hsl(236, 6%, 50%) |
| HSV | hsv(236, 10%, 53%) |
| CMYK | cmyk(10.4%, 9.6%, 0%, 47.1%) |
| CIE-LAB | lab(51.53, 2.37, -7.18) |
| CIE-LCH | lch(51.53, 7.56, 288.24°) |
| OKLab | oklab(58.3% 0.0042 -0.0193) |
| OKLCH | oklch(58.3% 0.02 282.3) |
| XYZ | xyz(19.2170, 19.7331, 25.7134) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Slate Gray
#708090
ΔE00 6.86
Gray
#808080
ΔE00 7.08
Flint
#6F7A80
ΔE00 7.31
Steel
#738595
ΔE00 8.11
Lightslategray
#778899
ΔE00 8.19
Battleship Grey
#6B7C85
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A87 #878679
analogous
#798187 #797A87 #7F7987
triadic
#797A87 #87797A #7A8779
tetradic
#797A87 #877981 #878679 #79877F
square
#797A87 #877981 #878679 #79877F
split-complementary
#797A87 #877F79 #818779
monochromatic
#3F4046 #5C5D67 #797A87 #999AA4 #BABAC1
Accessibility & contrast
On white
4.25
#797A87 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#797A87 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A87
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A87 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A87 | 1.00 | 4.25 | 4.95 | 4.95 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#777B88
Deuteranopia (green-blind)
#767A87
Tritanopia (blue-blind)
#767C7E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #797a87; /* rgb */ color: rgb(121, 122, 135); /* oklch */ color: oklch(58.3% 0.020 282.3);
Tailwind
colors: {
custom: {
50: '#9fa0aa',
500: '#797a87',
950: '#000000',
},
}SCSS
$custom: #797a87; $custom-light: #9fa0aa; $custom-dark: #000000;
JSON
{
"hex": "#797a87",
"rgb": {
"r": 121,
"g": 122,
"b": 135
},
"hsl": {
"h": 235.714,
"s": 5.512,
"l": 50.196
},
"oklch": {
"l": 0.58305,
"c": 0.01977,
"h": 282.3
},
"luminance": 0.19733
}Semantic roles & 50–950 ramp
primary
#797A87
secondary
#B1B1AB
accent
#AB79AF
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F