#5786EB#5786EB
#5786EB is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.6% C 0.160 H 263.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5786EB |
|---|---|
| RGB | rgb(87, 134, 235) |
| HSL | hsl(221, 79%, 63%) |
| HSV | hsv(221, 63%, 92%) |
| CMYK | cmyk(63%, 43%, 0%, 7.8%) |
| CIE-LAB | lab(57.15, 15.20, -55.83) |
| CIE-LCH | lch(57.15, 57.86, 285.23°) |
| OKLab | oklab(63.57% -0.0176 -0.1593) |
| OKLCH | oklch(63.57% 0.16 263.7) |
| XYZ | xyz(27.4457, 25.0721, 81.9742) |
| Luminance | 0.2507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.92
Dodger Blue
#3E82FC
ΔE00 2.54
Lightish Blue
#3D7AFD
ΔE00 4.20
Cornflowerblue
#6495ED
ΔE00 4.64
Clear Blue
#247AFD
ΔE00 4.76
Azure
#007FFF
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786EB #EBBC57
analogous
#57D0EB #5786EB #7257EB
triadic
#5786EB #EB5786 #86EB57
tetradic
#5786EB #EB57D0 #EBBC57 #57EB72
square
#5786EB #EB57D0 #EBBC57 #57EB72
split-complementary
#5786EB #EB7257 #D0EB57
monochromatic
#1547B2 #205FE4 #5786EB #8EADF2 #C4D5F8
Accessibility & contrast
On white
3.49
#5786EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#5786EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786EB
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786EB | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5790EF
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5786eb; /* rgb */ color: rgb(87, 134, 235); /* oklch */ color: oklch(63.6% 0.160 263.7);
Tailwind
colors: {
custom: {
50: '#93a8f2',
500: '#5786eb',
950: '#000000',
},
}SCSS
$custom: #5786eb; $custom-light: #93a8f2; $custom-dark: #000000;
JSON
{
"hex": "#5786eb",
"rgb": {
"r": 87,
"g": 134,
"b": 235
},
"hsl": {
"h": 220.946,
"s": 78.723,
"l": 63.137
},
"oklch": {
"l": 0.63565,
"c": 0.16025,
"h": 263.7
},
"luminance": 0.25075
}Semantic roles & 50–950 ramp
primary
#5786EB
secondary
#E9D9B4
accent
#990ADB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85