#787CAE#787CAE
#787CAE is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.3% C 0.076 H 280.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #787CAE |
|---|---|
| RGB | rgb(120, 124, 174) |
| HSL | hsl(236, 25%, 58%) |
| HSV | hsv(236, 31%, 68%) |
| CMYK | cmyk(31%, 28.7%, 0%, 31.8%) |
| CIE-LAB | lab(53.45, 10.35, -26.97) |
| CIE-LCH | lch(53.45, 28.89, 291.00°) |
| OKLab | oklab(60.26% 0.0136 -0.0748) |
| OKLCH | oklch(60.26% 0.076 280.3) |
| XYZ | xyz(22.5913, 21.4637, 42.9888) |
| Luminance | 0.2146 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 10.29
Deep Lilac
#966EBD
ΔE00 10.40
Faded Blue
#658CBB
ΔE00 10.47
Mediumpurple
#9370DB
ΔE00 10.94
Greyish Purple
#887191
ΔE00 11.07
Slate Blue (survey)
#5B7C99
ΔE00 11.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787CAE #AEAA78
analogous
#7897AE #787CAE #8F78AE
triadic
#787CAE #AE787C #7CAE78
tetradic
#787CAE #AE7897 #AEAA78 #78AE8F
square
#787CAE #AE7897 #AEAA78 #78AE8F
split-complementary
#787CAE #AE8F78 #97AE78
monochromatic
#40446B #575C91 #787CAE #9EA1C5 #C4C6DC
Accessibility & contrast
On white
3.97
#787CAE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#787CAE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787CAE
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787CAE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787CAE | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D82B0
Deuteranopia (green-blind)
#6B7EAD
Tritanopia (blue-blind)
#6A858E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #787cae; /* rgb */ color: rgb(120, 124, 174); /* oklch */ color: oklch(60.3% 0.076 280.3);
Tailwind
colors: {
custom: {
50: '#a0a1c6',
500: '#787cae',
950: '#000000',
},
}SCSS
$custom: #787cae; $custom-light: #a0a1c6; $custom-dark: #000000;
JSON
{
"hex": "#787cae",
"rgb": {
"r": 120,
"g": 124,
"b": 174
},
"hsl": {
"h": 235.556,
"s": 25,
"l": 57.647
},
"oklch": {
"l": 0.60258,
"c": 0.07603,
"h": 280.3
},
"luminance": 0.21464
}Semantic roles & 50–950 ramp
primary
#787CAE
secondary
#CCCAB6
accent
#BB66C1
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0F0F13
muted
#7E7E82