#5787EA#5787EA
#5787EA is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.7% C 0.158 H 263.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5787EA |
|---|---|
| RGB | rgb(87, 135, 234) |
| HSL | hsl(220, 78%, 63%) |
| HSV | hsv(220, 63%, 92%) |
| CMYK | cmyk(62.8%, 42.3%, 0%, 8.2%) |
| CIE-LAB | lab(57.36, 14.26, -54.93) |
| CIE-LCH | lch(57.36, 56.75, 284.55°) |
| OKLab | oklab(63.71% -0.0188 -0.1566) |
| OKLCH | oklch(63.71% 0.158 263.2) |
| XYZ | xyz(27.4406, 25.2922, 81.2617) |
| Luminance | 0.2530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.03
Dodger Blue
#3E82FC
ΔE00 2.64
Cornflowerblue
#6495ED
ΔE00 4.33
Lightish Blue
#3D7AFD
ΔE00 4.50
Dark Sky Blue
#448EE4
ΔE00 4.72
Azure
#007FFF
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5787EA #EABA57
analogous
#57D1EA #5787EA #7057EA
triadic
#5787EA #EA5787 #87EA57
tetradic
#5787EA #EA57D1 #EABA57 #57EA70
square
#5787EA #EA57D1 #EABA57 #57EA70
split-complementary
#5787EA #EA7057 #D1EA57
monochromatic
#1649B1 #2160E3 #5787EA #8DAEF1 #C4D5F8
Accessibility & contrast
On white
3.47
#5787EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#5787EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5787EA
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5787EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5787EA | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#4383E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5787ea; /* rgb */ color: rgb(87, 135, 234); /* oklch */ color: oklch(63.7% 0.158 263.2);
Tailwind
colors: {
custom: {
50: '#93a9f1',
500: '#5787ea',
950: '#000000',
},
}SCSS
$custom: #5787ea; $custom-light: #93a9f1; $custom-dark: #000000;
JSON
{
"hex": "#5787ea",
"rgb": {
"r": 87,
"g": 135,
"b": 234
},
"hsl": {
"h": 220.408,
"s": 77.778,
"l": 62.941
},
"oklch": {
"l": 0.63711,
"c": 0.15776,
"h": 263.2
},
"luminance": 0.25295
}Semantic roles & 50–950 ramp
primary
#5787EA
secondary
#E9D8B4
accent
#970BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85