#787C8F#787C8F
#787C8F is a mid, muted blue. Relative luminance 0.204; OKLCH L 59.0% C 0.029 H 276.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #787C8F |
|---|---|
| RGB | rgb(120, 124, 143) |
| HSL | hsl(230, 9%, 52%) |
| HSV | hsv(230, 16%, 56%) |
| CMYK | cmyk(16.1%, 13.3%, 0%, 43.9%) |
| CIE-LAB | lab(52.28, 2.65, -10.77) |
| CIE-LCH | lch(52.28, 11.09, 283.84°) |
| OKLab | oklab(58.95% 0.0031 -0.0292) |
| OKLCH | oklch(58.95% 0.029 276.1) |
| XYZ | xyz(19.9102, 20.3913, 28.8682) |
| Luminance | 0.2039 (WCAG relative) |
| Temperature | neutral |
| Family | blue |
Closest named colors
Slate Gray
#708090
ΔE00 6.35
Lightslategray
#778899
ΔE00 7.35
Steel
#738595
ΔE00 7.49
Flint
#6F7A80
ΔE00 8.56
Battleship Grey
#6B7C85
ΔE00 9.20
Gray
#808080
ΔE00 9.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C8F #8F8B78
analogous
#78888F #787C8F #80788F
triadic
#787C8F #8F787C #7C8F78
tetradic
#787C8F #8F7888 #8F8B78 #788F80
square
#787C8F #8F7888 #8F8B78 #788F80
split-complementary
#787C8F #8F8078 #888F78
monochromatic
#40424D #5C5F6E #787C8F #999CAB #BBBDC7
Accessibility & contrast
On white
4.14
#787C8F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#787C8F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C8F
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C8F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C8F | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#777E90
Deuteranopia (green-blind)
#767C8E
Tritanopia (blue-blind)
#737F82
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #787c8f; /* rgb */ color: rgb(120, 124, 143); /* oklch */ color: oklch(59.0% 0.029 276.1);
Tailwind
colors: {
custom: {
50: '#9fa1af',
500: '#787c8f',
950: '#000000',
},
}SCSS
$custom: #787c8f; $custom-light: #9fa1af; $custom-dark: #000000;
JSON
{
"hex": "#787c8f",
"rgb": {
"r": 120,
"g": 124,
"b": 143
},
"hsl": {
"h": 229.565,
"s": 9.312,
"l": 51.569
},
"oklch": {
"l": 0.58953,
"c": 0.02933,
"h": 276.1
},
"luminance": 0.20392
}Semantic roles & 50–950 ramp
primary
#787C8F
secondary
#B6B5AC
accent
#A876B2
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F10
muted
#7E7E7F