#787EBB#787EBB
#787EBB is a mid, moderate blue. Relative luminance 0.225; OKLCH L 61.3% C 0.092 H 279.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #787EBB |
|---|---|
| RGB | rgb(120, 126, 187) |
| HSL | hsl(235, 33%, 60%) |
| HSV | hsv(235, 36%, 73%) |
| CMYK | cmyk(35.8%, 32.6%, 0%, 26.7%) |
| CIE-LAB | lab(54.56, 12.67, -32.73) |
| CIE-LCH | lch(54.56, 35.10, 291.17°) |
| OKLab | oklab(61.3% 0.0144 -0.0913) |
| OKLCH | oklch(61.3% 0.092 279) |
| XYZ | xyz(24.1737, 22.5018, 50.0737) |
| Luminance | 0.2250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 8.08
Faded Blue
#658CBB
ΔE00 9.00
Cornflower
#6A79F7
ΔE00 9.54
Soft Blue
#6488EA
ΔE00 9.55
Cornflower Blue
#5170D7
ΔE00 9.57
Lavender Blue
#8B88F8
ΔE00 9.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787EBB #BBB578
analogous
#789FBB #787EBB #9378BB
triadic
#787EBB #BB787E #7EBB78
tetradic
#787EBB #BB789F #BBB578 #78BB93
square
#787EBB #BB789F #BBB578 #78BB93
split-complementary
#787EBB #BB9378 #9FBB78
monochromatic
#3E437B #525AA3 #787EBB #A1A5D0 #C9CCE4
Accessibility & contrast
On white
3.82
#787EBB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#787EBB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787EBB
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787EBB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787EBB | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B85BE
Deuteranopia (green-blind)
#6780BA
Tritanopia (blue-blind)
#658A94
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #787ebb; /* rgb */ color: rgb(120, 126, 187); /* oklch */ color: oklch(61.3% 0.092 279.0);
Tailwind
colors: {
custom: {
50: '#a1a3cf',
500: '#787ebb',
950: '#000000',
},
}SCSS
$custom: #787ebb; $custom-light: #a1a3cf; $custom-dark: #000000;
JSON
{
"hex": "#787ebb",
"rgb": {
"r": 120,
"g": 126,
"b": 187
},
"hsl": {
"h": 234.627,
"s": 33.005,
"l": 60.196
},
"oklch": {
"l": 0.61296,
"c": 0.09247,
"h": 279
},
"luminance": 0.22503
}Semantic roles & 50–950 ramp
primary
#787EBB
secondary
#D4D2BB
accent
#A23AAC
background
#FAFAFC
surface
#F3F3F9
border
#CDCDD2
text
#0F0F14
muted
#7F7F82