I'm surprised no one has mentioned CubeHelix -- https://www.mrao.cam.ac.uk/~dag/CUBEHELIX/ -- which, as I understand it has the property of "working" just as well in grayscale. Handy not only for color blindness but for grayscale printouts of images featuring color. There is support out there for D3 and various other visualization systems.