#797E89#797E89
#797E89 is a mid, near-neutral grey. Relative luminance 0.208; OKLCH L 59.3% C 0.018 H 266.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #797E89 |
|---|---|
| RGB | rgb(121, 126, 137) |
| HSL | hsl(221, 6%, 51%) |
| HSV | hsv(221, 12%, 54%) |
| CMYK | cmyk(11.7%, 8%, 0%, 46.3%) |
| CIE-LAB | lab(52.72, 0.49, -6.59) |
| CIE-LCH | lch(52.72, 6.60, 274.23°) |
| OKLab | oklab(59.26% -0.0012 -0.0177) |
| OKLCH | oklch(59.26% 0.018 266.2) |
| XYZ | xyz(19.8604, 20.7926, 26.6291) |
| Luminance | 0.2079 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Slate Gray
#708090
ΔE00 4.44
Flint
#6F7A80
ΔE00 5.13
Steel
#738595
ΔE00 5.44
Lightslategray
#778899
ΔE00 5.66
Gray
#808080
ΔE00 5.83
Battleship Grey
#6B7C85
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E89 #898479
analogous
#798689 #797E89 #7C7989
triadic
#797E89 #89797E #7E8979
tetradic
#797E89 #897986 #898479 #79897C
square
#797E89 #897986 #898479 #79897C
split-complementary
#797E89 #897C79 #868979
monochromatic
#3F4248 #5C6069 #797E89 #9A9DA6 #BABDC2
Accessibility & contrast
On white
4.07
#797E89 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#797E89 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E89
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E89 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E89 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7F8A
Deuteranopia (green-blind)
#797D89
Tritanopia (blue-blind)
#758081
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #797e89; /* rgb */ color: rgb(121, 126, 137); /* oklch */ color: oklch(59.3% 0.018 266.2);
Tailwind
colors: {
custom: {
50: '#9fa3ab',
500: '#797e89',
950: '#000000',
},
}SCSS
$custom: #797e89; $custom-light: #9fa3ab; $custom-dark: #000000;
JSON
{
"hex": "#797e89",
"rgb": {
"r": 121,
"g": 126,
"b": 137
},
"hsl": {
"h": 221.25,
"s": 6.349,
"l": 50.588
},
"oklch": {
"l": 0.59257,
"c": 0.01777,
"h": 266.2
},
"luminance": 0.20793
}Semantic roles & 50–950 ramp
primary
#797E89
secondary
#B2B0AB
accent
#9E78AF
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F10
muted
#7E7F7F