#5786F0#5786F0
#5786F0 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.9% C 0.167 H 264.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5786F0 |
|---|---|
| RGB | rgb(87, 134, 240) |
| HSL | hsl(222, 84%, 64%) |
| HSV | hsv(222, 64%, 94%) |
| CMYK | cmyk(63.7%, 44.2%, 0%, 5.9%) |
| CIE-LAB | lab(57.43, 16.89, -58.15) |
| CIE-LCH | lch(57.43, 60.55, 286.20°) |
| OKLab | oklab(63.88% -0.0168 -0.1661) |
| OKLCH | oklch(63.88% 0.167 264.2) |
| XYZ | xyz(28.1783, 25.3651, 85.8321) |
| Luminance | 0.2537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.82
Dodger Blue
#3E82FC
ΔE00 2.43
Lightish Blue
#3D7AFD
ΔE00 4.07
Cornflowerblue
#6495ED
ΔE00 4.62
Clear Blue
#247AFD
ΔE00 4.77
Azure
#007FFF
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786F0 #F0C157
analogous
#57D2F0 #5786F0 #7557F0
triadic
#5786F0 #F05786 #86F057
tetradic
#5786F0 #F057D2 #F0C157 #57F075
square
#5786F0 #F057D2 #F0C157 #57F075
split-complementary
#5786F0 #F07557 #D2F057
monochromatic
#1145BC #1F5EEB #5786F0 #8FAEF5 #C7D7FA
Accessibility & contrast
On white
3.46
#5786F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#5786F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786F0
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786F0 | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5391F4
Deuteranopia (green-blind)
#3983EE
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5786f0; /* rgb */ color: rgb(87, 134, 240); /* oklch */ color: oklch(63.9% 0.167 264.2);
Tailwind
colors: {
custom: {
50: '#94a8f5',
500: '#5786f0',
950: '#000000',
},
}SCSS
$custom: #5786f0; $custom-light: #94a8f5; $custom-dark: #000000;
JSON
{
"hex": "#5786f0",
"rgb": {
"r": 87,
"g": 134,
"b": 240
},
"hsl": {
"h": 221.569,
"s": 83.607,
"l": 64.118
},
"oklch": {
"l": 0.63875,
"c": 0.16695,
"h": 264.2
},
"luminance": 0.25368
}Semantic roles & 50–950 ramp
primary
#5786F0
secondary
#ECDCB7
accent
#9D05E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85