#787A8E#787A8E
#787A8E is a mid, muted blue. Relative luminance 0.199; OKLCH L 58.5% C 0.031 H 280.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #787A8E |
|---|---|
| RGB | rgb(120, 122, 142) |
| HSL | hsl(235, 9%, 51%) |
| HSV | hsv(235, 15%, 56%) |
| CMYK | cmyk(15.5%, 14.1%, 0%, 44.3%) |
| CIE-LAB | lab(51.68, 3.59, -11.07) |
| CIE-LCH | lch(51.68, 11.64, 287.97°) |
| OKLab | oklab(58.48% 0.0058 -0.03) |
| OKLCH | oklch(58.48% 0.031 280.9) |
| XYZ | xyz(19.5867, 19.8649, 28.3883) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | neutral |
| Family | blue |
Closest named colors
Slate Gray
#708090
ΔE00 7.65
Lightslategray
#778899
ΔE00 8.72
Steel
#738595
ΔE00 8.86
Flint
#6F7A80
ΔE00 9.51
Gray
#808080
ΔE00 9.82
Purplish Grey
#7A687F
ΔE00 10.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A8E #8E8C78
analogous
#78858E #787A8E #81788E
triadic
#787A8E #8E787A #7A8E78
tetradic
#787A8E #8E7885 #8E8C78 #788E81
square
#787A8E #8E7885 #8E8C78 #788E81
split-complementary
#787A8E #8E8178 #858E78
monochromatic
#40414C #5B5D6D #787A8E #999BAA #BBBCC6
Accessibility & contrast
On white
4.22
#787A8E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#787A8E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A8E
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A8E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A8E | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#757C8F
Deuteranopia (green-blind)
#747A8D
Tritanopia (blue-blind)
#737D80
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #787a8e; /* rgb */ color: rgb(120, 122, 142); /* oklch */ color: oklch(58.5% 0.031 280.9);
Tailwind
colors: {
custom: {
50: '#9fa0af',
500: '#787a8e',
950: '#000000',
},
}SCSS
$custom: #787a8e; $custom-light: #9fa0af; $custom-dark: #000000;
JSON
{
"hex": "#787a8e",
"rgb": {
"r": 120,
"g": 122,
"b": 142
},
"hsl": {
"h": 234.545,
"s": 8.871,
"l": 51.373
},
"oklch": {
"l": 0.58479,
"c": 0.03055,
"h": 280.9
},
"luminance": 0.19865
}Semantic roles & 50–950 ramp
primary
#787A8E
secondary
#B6B5AC
accent
#AC76B2
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F