#5786EA#5786EA
#5786EA is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.5% C 0.159 H 263.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5786EA |
|---|---|
| RGB | rgb(87, 134, 234) |
| HSL | hsl(221, 78%, 63%) |
| HSV | hsv(221, 63%, 92%) |
| CMYK | cmyk(62.8%, 42.7%, 0%, 8.2%) |
| CIE-LAB | lab(57.09, 14.86, -55.36) |
| CIE-LCH | lch(57.09, 57.32, 285.03°) |
| OKLab | oklab(63.5% -0.0178 -0.1579) |
| OKLCH | oklch(63.5% 0.159 263.6) |
| XYZ | xyz(27.3017, 25.0144, 81.2154) |
| Luminance | 0.2502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.96
Dodger Blue
#3E82FC
ΔE00 2.57
Lightish Blue
#3D7AFD
ΔE00 4.24
Cornflowerblue
#6495ED
ΔE00 4.65
Clear Blue
#247AFD
ΔE00 4.77
Azure
#007FFF
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786EA #EABB57
analogous
#57D0EA #5786EA #7157EA
triadic
#5786EA #EA5786 #86EA57
tetradic
#5786EA #EA57D0 #EABB57 #57EA71
square
#5786EA #EA57D0 #EABB57 #57EA71
split-complementary
#5786EA #EA7157 #D0EA57
monochromatic
#1647B1 #215FE3 #5786EA #8DADF1 #C4D4F8
Accessibility & contrast
On white
3.50
#5786EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#5786EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786EA
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786EA | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5890EE
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5786ea; /* rgb */ color: rgb(87, 134, 234); /* oklch */ color: oklch(63.5% 0.159 263.6);
Tailwind
colors: {
custom: {
50: '#93a8f1',
500: '#5786ea',
950: '#000000',
},
}SCSS
$custom: #5786ea; $custom-light: #93a8f1; $custom-dark: #000000;
JSON
{
"hex": "#5786ea",
"rgb": {
"r": 87,
"g": 134,
"b": 234
},
"hsl": {
"h": 220.816,
"s": 77.778,
"l": 62.941
},
"oklch": {
"l": 0.63503,
"c": 0.15891,
"h": 263.6
},
"luminance": 0.25017
}Semantic roles & 50–950 ramp
primary
#5786EA
secondary
#E9D8B4
accent
#980BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85