<label style="color:blue"><input type='checkbox' id="check1" name="file1" value="61"/>file1</label><br>
<script type="text/javascript">
document.getElementById( 'check1' ).onclick = function() {
if ( this.parentNode.style.color == "black" ) {
this.parentNode.style.color = "blue";
} else {
this.parentNode.style.color = "black";
}
}
</script>