Technically, you don’t need a light for a fish tank. The light is really more for your benefit than for theirs, since it makes the tank prettier to look at. But as long as you have the tank in a room with windows, that’s more than enough light for the fish (not directly in front of/below the windows, of course!). If you want live plants, that may change depending on what kind of plants and their lighting needs.
Fish shouldn’t really be kept in total darkness, a lot of them do need light to find their food. Other than that, light doesn’t matter. Heck, if you’re some kind of ultra-vampire, you can even get blind cave tetras that have no eyes and therefore don’t care about light levels at all.