Blue Light Blocking Glasses: How They Work and Why They Work
danielriley.blog
danielriley.blog
https://www.healthline.com/nutrition/block-blue-light-to-sle...
Blue light disrupting sleep is definitely a real thing, and studies so far suggest that using glasses to counter the effect can work, though (as detailed in the PubMed article which the Healthline article laudably cites) those studies have so far been too small/weak to prove any such thing.
What that does is actually adding a subtle yellow tint to the glass and anti-reflection coating.
The single best eye wear-related decision this year - so good that I headed back and got myself a backup pair. My eyes are so much better rested after staring at a screen 8h+ a day, even if I used redshift to reduce the blue tint. Also I fall asleep so much quicker and I sleep better, and I credit the glasses for much of the improvement.
Then again you can use apps like f.lux for free - although the reason I bought glasses was because I couldn't find a clear answer to whether or not software blocking was effective, or as effective as hardware (glasses).
There is some criticism in other comments here of the blog as an advert, but it seems like a useful overview to me, with affiliate links.
I use a custom prescription to produce a similar effect, and they are wonderful for preventing eye strain.
This also applies to the fancier lenses on prescription glasses. If you are optically challenged like myself, and have bought glasses recently, you've probably been upsold to lenses that block short wavelength blue & near UV light. For example, Zenni's branding is BlokZ, which are apparently designed to to prevent "FryEye". There may be some benefit to blocking short wavelength blue (and there is obviously benefit to blocking UV), they will not help with sleep.
For the purpose of my sleep cycle, I prefer to use software filters (f.lux, etc.) rather than colored lenses. As long as the blue (and green, to a lesser extent) subpixels on my display aren't lit, it's just as effective. In fact it's a bit nicer, as it's possible to "redscale" the image based on luminosity rather than just not seeing blue any more. (I am not sure if f.lux is capable of this, as I do not use it.) To limit the effect of environmental lights, I use very warm LEDs in the evening and dim them down low as the night goes on. I'm tempted to mix in some red and orange ones right near bedtime to get an almost firelight effect.
Unrelated, but for general eye strain at the end of the day: get some reading glasses, even if you don't actually need them to read. They'll let your ciliary muscle relax by making your screen seem to be at optical infinity. If you already have glasses, just take your prescription and throw +2 or so SPH on there. (Or, if you don't mind being a bit of an annoyance, pop to the drug store and try on some pairs on your regular glasses until you find the right diopter. Or, even better, calculate it using the thin lens approximation.) You may want to add a prism if you're prone to being cross-eyed.
[1]: While not from a scientific publication, and obviously heavily smoothed, this graph gives an idea: https://www.rasc.ca/sites/default/files/Retina_Spectrum.jpg