This paper reports on a study of novel heterohydrogel materials with regular inclusions of the dispersed phase such as polystyrene latex nanoparticles. Synthesized 3D hydrogel matrices contain a balanced number of cross-links and a defined amount of polystyrene nanoparticles with 50 or 85 nm in radius. This study has shown that the obtained hydrogel matrices are capable of changing the swelling degree and their optical properties depending on the size and concentration of the dispersed nanoparticles. The results of the performed studies revealed that the synthesized 3D hydrogels are sensitive for even small changes of glucose concentration and therefore are very promising materials for biosensors.