#787FDA#787FDA
#787FDA is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.1% C 0.136 H 278.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #787FDA |
|---|---|
| RGB | rgb(120, 127, 218) |
| HSL | hsl(236, 57%, 66%) |
| HSV | hsv(236, 45%, 85%) |
| CMYK | cmyk(45%, 41.7%, 0%, 14.5%) |
| CIE-LAB | lab(56.32, 20.91, -47.53) |
| CIE-LCH | lch(56.32, 51.93, 293.75°) |
| OKLab | oklab(63.14% 0.0199 -0.1343) |
| OKLCH | oklch(63.14% 0.136 278.4) |
| XYZ | xyz(27.9862, 24.2324, 69.5188) |
| Luminance | 0.2423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.82
Perrywinkle
#8F8CE7
ΔE00 5.41
Lavender Blue
#8B88F8
ΔE00 5.47
Soft Blue
#6488EA
ΔE00 6.17
Periwinkle (survey)
#8E82FE
ΔE00 6.23
Cornflower Blue
#5170D7
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787FDA #DAD378
analogous
#78B0DA #787FDA #A278DA
triadic
#787FDA #DA787F #7FDA78
tetradic
#787FDA #DA78B0 #DAD378 #78DAA2
square
#787FDA #DA78B0 #DAD378 #78DAA2
split-complementary
#787FDA #DAA278 #B0DA78
monochromatic
#2E37A9 #4851CD #787FDA #A8ADE7 #D8DAF4
Accessibility & contrast
On white
3.59
#787FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#787FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787FDA
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787FDA | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D8BDD
Deuteranopia (green-blind)
#5583D8
Tritanopia (blue-blind)
#5792A2
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #787fda; /* rgb */ color: rgb(120, 127, 218); /* oklch */ color: oklch(63.1% 0.136 278.4);
Tailwind
colors: {
custom: {
50: '#a4a4e6',
500: '#787fda',
950: '#000000',
},
}SCSS
$custom: #787fda; $custom-light: #a4a4e6; $custom-dark: #000000;
JSON
{
"hex": "#787fda",
"rgb": {
"r": 120,
"g": 127,
"b": 218
},
"hsl": {
"h": 235.714,
"s": 56.977,
"l": 66.275
},
"oklch": {
"l": 0.63141,
"c": 0.13581,
"h": 278.4
},
"luminance": 0.24234
}Semantic roles & 50–950 ramp
primary
#787FDA
secondary
#E7E5C7
accent
#B921C5
background
#FAFAFE
surface
#F4F3FC
border
#CECDD5
text
#100F16
muted
#7F7F84