#787EA2#787EA2
#787EA2 is a mid, muted blue. Relative luminance 0.215; OKLCH L 60.1% C 0.055 H 277.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #787EA2 |
|---|---|
| RGB | rgb(120, 126, 162) |
| HSL | hsl(231, 18%, 55%) |
| HSV | hsv(231, 26%, 64%) |
| CMYK | cmyk(25.9%, 22.2%, 0%, 36.5%) |
| CIE-LAB | lab(53.52, 6.08, -19.94) |
| CIE-LCH | lch(53.52, 20.85, 286.94°) |
| OKLab | oklab(60.15% 0.007 -0.0548) |
| OKLCH | oklch(60.15% 0.055 277.2) |
| XYZ | xyz(21.7265, 21.5229, 37.1850) |
| Luminance | 0.2152 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Gray
#708090
ΔE00 9.88
Lightslategray
#778899
ΔE00 10.03
Steel
#738595
ΔE00 10.54
Blue Grey
#758DA3
ΔE00 10.68
Faded Blue
#658CBB
ΔE00 10.71
Greyish Purple
#887191
ΔE00 10.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787EA2 #A29C78
analogous
#7893A2 #787EA2 #8778A2
triadic
#787EA2 #A2787E #7EA278
tetradic
#787EA2 #A27893 #A29C78 #78A287
square
#787EA2 #A27893 #A29C78 #78A287
split-complementary
#787EA2 #A28778 #93A278
monochromatic
#41455E #5A6083 #787EA2 #9CA1BB #C0C3D4
Accessibility & contrast
On white
3.96
#787EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#787EA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787EA2
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787EA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787EA2 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7482A4
Deuteranopia (green-blind)
#717EA1
Tritanopia (blue-blind)
#6E858A
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #787ea2; /* rgb */ color: rgb(120, 126, 162); /* oklch */ color: oklch(60.1% 0.055 277.2);
Tailwind
colors: {
custom: {
50: '#9fa3bd',
500: '#787ea2',
950: '#000000',
},
}SCSS
$custom: #787ea2; $custom-light: #9fa3bd; $custom-dark: #000000;
JSON
{
"hex": "#787ea2",
"rgb": {
"r": 120,
"g": 126,
"b": 162
},
"hsl": {
"h": 231.429,
"s": 18.421,
"l": 55.294
},
"oklch": {
"l": 0.60148,
"c": 0.05524,
"h": 277.2
},
"luminance": 0.21523
}Semantic roles & 50–950 ramp
primary
#787EA2
secondary
#C4C1B2
accent
#B06DBB
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0E0F12
muted
#7E7F81