I would say by the blue, probably it's all dead...
However, if you want, you can cut that main branch closer and closer to the blue line until you find sap / living part (If it's alive), and stop there, but it is not guaranteed that the branch will survive due to sap retraction as we call here in Brazil (I don't know a proper translation)...
If there's no leaves on a certain branch, there's a probability that the tree will retract the sap flow, amputating the leafless part... (Mostly not for deciduous trees)