#787F89#787F89
#787F89 is a mid, near-neutral grey. Relative luminance 0.210; OKLCH L 59.4% C 0.017 H 257.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #787F89 |
|---|---|
| RGB | rgb(120, 127, 137) |
| HSL | hsl(215, 7%, 50%) |
| HSV | hsv(215, 12%, 54%) |
| CMYK | cmyk(12.4%, 7.3%, 0%, 46.3%) |
| CIE-LAB | lab(52.93, -0.44, -6.29) |
| CIE-LCH | lch(52.93, 6.31, 265.96°) |
| OKLab | oklab(59.4% -0.0038 -0.0169) |
| OKLCH | oklch(59.4% 0.017 257.2) |
| XYZ | xyz(19.8494, 20.9777, 26.6654) |
| Luminance | 0.2098 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Slate Gray
#708090
ΔE00 3.68
Flint
#6F7A80
ΔE00 4.13
Steel
#738595
ΔE00 4.53
Lightslategray
#778899
ΔE00 4.94
Battleship Grey
#6B7C85
ΔE00 4.99
Gray
#808080
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787F89 #898278
analogous
#788789 #787F89 #797889
triadic
#787F89 #89787F #7F8978
tetradic
#787F89 #897887 #898278 #788979
square
#787F89 #897887 #898278 #788979
split-complementary
#787F89 #897978 #878978
monochromatic
#3F4348 #5B6168 #787F89 #999EA6 #B9BDC2
Accessibility & contrast
On white
4.04
#787F89 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#787F89 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787F89
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787F89 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787F89 | 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)
#7C7F8A
Deuteranopia (green-blind)
#7A7E89
Tritanopia (blue-blind)
#748182
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #787f89; /* rgb */ color: rgb(120, 127, 137); /* oklch */ color: oklch(59.4% 0.017 257.2);
Tailwind
colors: {
custom: {
50: '#9fa4ab',
500: '#787f89',
950: '#000000',
},
}SCSS
$custom: #787f89; $custom-light: #9fa4ab; $custom-dark: #000000;
JSON
{
"hex": "#787f89",
"rgb": {
"r": 120,
"g": 127,
"b": 137
},
"hsl": {
"h": 215.294,
"s": 6.719,
"l": 50.392
},
"oklch": {
"l": 0.59397,
"c": 0.01737,
"h": 257.2
},
"luminance": 0.20978
}Semantic roles & 50–950 ramp
primary
#787F89
secondary
#B2AFAB
accent
#9978B0
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F10
muted
#7E7F7F