In Angular Material 19 you can do it this way:
your-component { box-shadow: var(--mat-sys-level3); }
More details in the official docs.