You can turn off blue light on a Mac by enabling the Night Shift feature in your System Preferences.
You can turn off blue light on your iPhone by activating "Night Shift," which changes the color of your iPhone's display.