#797F87#797F87
#797F87 is a mid, near-neutral grey. Relative luminance 0.210; OKLCH L 59.4% C 0.014 H 255.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #797F87 |
|---|---|
| RGB | rgb(121, 127, 135) |
| HSL | hsl(214, 6%, 50%) |
| HSV | hsv(214, 10%, 53%) |
| CMYK | cmyk(10.4%, 5.9%, 0%, 47.1%) |
| CIE-LAB | lab(52.94, -0.53, -5.09) |
| CIE-LCH | lch(52.94, 5.12, 264.08°) |
| OKLab | oklab(59.41% -0.0035 -0.0137) |
| OKLCH | oklch(59.41% 0.014 255.5) |
| XYZ | xyz(19.8468, 20.9927, 25.9234) |
| Luminance | 0.2099 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Flint
#6F7A80
ΔE00 3.81
Slate Gray
#708090
ΔE00 4.43
Gray
#808080
ΔE00 4.66
Battleship Grey
#6B7C85
ΔE00 5.03
Steel
#738595
ΔE00 5.14
Steel Grey
#6F828A
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F87 #878179
analogous
#798687 #797F87 #7A7987
triadic
#797F87 #87797F #7F8779
tetradic
#797F87 #877986 #878179 #79877A
square
#797F87 #877986 #878179 #79877A
split-complementary
#797F87 #877A79 #868779
monochromatic
#3F4246 #5C6167 #797F87 #999EA4 #BABDC1
Accessibility & contrast
On white
4.04
#797F87 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#797F87 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F87
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F87 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F87 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C7F87
Deuteranopia (green-blind)
#7B7E87
Tritanopia (blue-blind)
#768181
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #797f87; /* rgb */ color: rgb(121, 127, 135); /* oklch */ color: oklch(59.4% 0.014 255.5);
Tailwind
colors: {
custom: {
50: '#9fa4aa',
500: '#797f87',
950: '#000000',
},
}SCSS
$custom: #797f87; $custom-light: #9fa4aa; $custom-dark: #000000;
JSON
{
"hex": "#797f87",
"rgb": {
"r": 121,
"g": 127,
"b": 135
},
"hsl": {
"h": 214.286,
"s": 5.512,
"l": 50.196
},
"oklch": {
"l": 0.59409,
"c": 0.01413,
"h": 255.5
},
"luminance": 0.20993
}Semantic roles & 50–950 ramp
primary
#797F87
secondary
#B1AEAB
accent
#9879AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F10
muted
#7E7F7F