You can turn off blue light on your iPhone by activating "Night Shift," which changes the color of your iPhone's display.
You can turn off the flashlight on an iPhone in two different ways, by swiping to the Control Center or (partially) swiping ...