Table des matières

Color Contrast

It seems there are several steps to the calculation of color contrast:

Blues

On Black

As one recognizes from the really low coefficient blue gets (0.0722), blue is relatively “dark”, with just over a tenth the luminance of green. This inspires the question, “can blue be used on a black background? If so, what range of blues can?”

If we take [0,0,0] as black, and note that 0/255=0 and 0/12.92=0, we are interested in B satisfying

On White

How pale a blue can be used on a white background? White [255,255,255]/255 transforms to [1,1,1], and