The var() function allows CSS variables to be accessed.

/* set a variable */
:root {
    --primary-color: blue;
}

/* access variable */
selector {
    color: var(--primary-color);
}

This feature is currently under development. Check caniuse.com for the latest browser support.