#787E8D#787E8D
#787E8D is a mid, muted blue. Relative luminance 0.208; OKLCH L 59.3% C 0.024 H 268.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #787E8D |
|---|---|
| RGB | rgb(120, 126, 141) |
| HSL | hsl(223, 8%, 51%) |
| HSV | hsv(223, 15%, 55%) |
| CMYK | cmyk(14.9%, 10.6%, 0%, 44.7%) |
| CIE-LAB | lab(52.77, 1.03, -8.86) |
| CIE-LCH | lch(52.77, 8.92, 276.65°) |
| OKLab | oklab(59.32% -0.0007 -0.0239) |
| OKLCH | oklch(59.32% 0.024 268.3) |
| XYZ | xyz(20.0132, 20.8376, 28.1618) |
| Luminance | 0.2084 (WCAG relative) |
| Temperature | neutral |
| Family | blue |
Closest named colors
Slate Gray
#708090
ΔE00 4.34
Steel
#738595
ΔE00 5.43
Lightslategray
#778899
ΔE00 5.47
Flint
#6F7A80
ΔE00 6.42
Battleship Grey
#6B7C85
ΔE00 7.01
Gray
#808080
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E8D #8D8778
analogous
#78888D #787E8D #7C788D
triadic
#787E8D #8D787E #7E8D78
tetradic
#787E8D #8D7888 #8D8778 #788D7C
square
#787E8D #8D7888 #8D8778 #788D7C
split-complementary
#787E8D #8D7C78 #888D78
monochromatic
#3F434B #5B606C #787E8D #999EA9 #BABDC5
Accessibility & contrast
On white
4.06
#787E8D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#787E8D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E8D
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E8D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E8D | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A7F8E
Deuteranopia (green-blind)
#787D8D
Tritanopia (blue-blind)
#738183
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #787e8d; /* rgb */ color: rgb(120, 126, 141); /* oklch */ color: oklch(59.3% 0.024 268.3);
Tailwind
colors: {
custom: {
50: '#9fa3ae',
500: '#787e8d',
950: '#000000',
},
}SCSS
$custom: #787e8d; $custom-light: #9fa3ae; $custom-dark: #000000;
JSON
{
"hex": "#787e8d",
"rgb": {
"r": 120,
"g": 126,
"b": 141
},
"hsl": {
"h": 222.857,
"s": 8.434,
"l": 51.176
},
"oklch": {
"l": 0.59319,
"c": 0.02394,
"h": 268.3
},
"luminance": 0.20838
}Semantic roles & 50–950 ramp
primary
#787E8D
secondary
#B5B2AC
accent
#A176B1
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F10
muted
#7E7F7F