The thing that actually matters is the 20-20-20 rule: every 20 minutes, look at something 20 feet away for 20 seconds. Your eye strain is almost definitely from your focusing muscles getting exhausted, not from blue light wavelengths themselves. When you stare at a screen, you blink less and your eyes stay locked at the same distance, which is genuinely exhausting over hours.
Blue light glasses *might* help a tiny bit with sleep if you're using screens right before bed (blue light does mess with melatonin), but for daytime eye strain? The evidence is pretty weak. They're heavily marketed because they're profitable, not because the science is solid. You'd get way more relief from actually taking breaks, adjusting your screen brightness to match your surroundings, and maybe bumping up your font size so you're not straining to read.
That said, are you asking because you're considering buying them anyway, or are you trying to figure out if there's something else going on with your eyes? Sometimes people find they feel better just from the placebo effect of *doing something*, which isn't nothing. But if your eyes hurt, breaks and screen positioning changes will almost certainly help more than the glasses themselves.