#797883#797883
#797883 is a mid, near-neutral grey. Relative luminance 0.191; OKLCH L 57.7% C 0.017 H 290.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #797883 |
|---|---|
| RGB | rgb(121, 120, 131) |
| HSL | hsl(245, 4%, 49%) |
| HSV | hsv(245, 8%, 51%) |
| CMYK | cmyk(7.6%, 8.4%, 0%, 48.6%) |
| CIE-LAB | lab(50.85, 2.66, -5.86) |
| CIE-LCH | lch(50.85, 6.43, 294.45°) |
| OKLab | oklab(57.72% 0.0057 -0.0157) |
| OKLCH | oklch(57.72% 0.017 290.1) |
| XYZ | xyz(18.6976, 19.1365, 24.1770) |
| Luminance | 0.1914 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 6.68
Flint
#6F7A80
ΔE00 7.56
Slate Gray
#708090
ΔE00 7.97
Medium Grey
#7D7F7C
ΔE00 8.56
Dimgray
#696969
ΔE00 8.80
Battleship Grey
#6B7C85
ΔE00 9.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797883 #828378
analogous
#787D83 #797883 #7F7883
triadic
#797883 #837978 #788379
tetradic
#797883 #83787D #828378 #78837F
square
#797883 #83787D #828378 #78837F
split-complementary
#797883 #837F78 #7D8378
monochromatic
#3E3D43 #5B5B63 #797883 #9998A0 #B8B8BE
Accessibility & contrast
On white
4.35
#797883 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#797883 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797883
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797883 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797883 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#767984
Deuteranopia (green-blind)
#767983
Tritanopia (blue-blind)
#777A7B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797883; /* rgb */ color: rgb(121, 120, 131); /* oklch */ color: oklch(57.7% 0.017 290.1);
Tailwind
colors: {
custom: {
50: '#9f9ea7',
500: '#797883',
950: '#000000',
},
}SCSS
$custom: #797883; $custom-light: #9f9ea7; $custom-dark: #000000;
JSON
{
"hex": "#797883",
"rgb": {
"r": 121,
"g": 120,
"b": 131
},
"hsl": {
"h": 245.455,
"s": 4.382,
"l": 49.216
},
"oklch": {
"l": 0.57724,
"c": 0.01671,
"h": 290.1
},
"luminance": 0.19137
}Semantic roles & 50–950 ramp
primary
#797883
secondary
#ADAEA9
accent
#AE7AA9
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F