The chart in SH3 has different colors for depth but they're not very accurate I'm afraid, the only way to be sure is to ping, and to not crashdive when it's very light blue on the chart, or you'll make a very distressing BOINGGGG! noise
although sometimes your 1WO will warn you if you try to crashdive in real shallow water, say 20 meters or less