#787EBF#787EBF
#787EBF is a mid, moderate blue. Relative luminance 0.227; OKLCH L 61.5% C 0.098 H 279.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #787EBF |
|---|---|
| RGB | rgb(120, 126, 191) |
| HSL | hsl(235, 36%, 61%) |
| HSV | hsv(235, 37%, 75%) |
| CMYK | cmyk(37.2%, 34%, 0%, 25.1%) |
| CIE-LAB | lab(54.74, 13.78, -34.73) |
| CIE-LCH | lch(54.74, 37.36, 291.64°) |
| OKLab | oklab(61.5% 0.0155 -0.0971) |
| OKLCH | oklch(61.5% 0.098 279) |
| XYZ | xyz(24.6079, 22.6754, 52.3603) |
| Luminance | 0.2268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 7.58
Faded Blue
#658CBB
ΔE00 8.80
Cornflower
#6A79F7
ΔE00 8.85
Soft Blue
#6488EA
ΔE00 9.01
Lavender Blue
#8B88F8
ΔE00 9.03
Cornflower Blue
#5170D7
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787EBF #BFB978
analogous
#78A1BF #787EBF #9578BF
triadic
#787EBF #BF787E #7EBF78
tetradic
#787EBF #BF78A1 #BFB978 #78BF95
square
#787EBF #BF78A1 #BFB978 #78BF95
split-complementary
#787EBF #BF9578 #A1BF78
monochromatic
#3D4280 #5058A9 #787EBF #A2A6D3 #CBCDE6
Accessibility & contrast
On white
3.79
#787EBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#787EBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787EBF
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787EBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787EBF | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6986C2
Deuteranopia (green-blind)
#6580BD
Tritanopia (blue-blind)
#648B96
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #787ebf; /* rgb */ color: rgb(120, 126, 191); /* oklch */ color: oklch(61.5% 0.098 279.0);
Tailwind
colors: {
custom: {
50: '#a1a3d2',
500: '#787ebf',
950: '#000000',
},
}SCSS
$custom: #787ebf; $custom-light: #a1a3d2; $custom-dark: #000000;
JSON
{
"hex": "#787ebf",
"rgb": {
"r": 120,
"g": 126,
"b": 191
},
"hsl": {
"h": 234.93,
"s": 35.678,
"l": 60.98
},
"oklch": {
"l": 0.61495,
"c": 0.09834,
"h": 279
},
"luminance": 0.22676
}Semantic roles & 50–950 ramp
primary
#787EBF
secondary
#D7D5BC
accent
#A437AF
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#0F0F14
muted
#7F7F82