Color collection
Radix Colors
A gorgeous, accessible color system — 31 palettes, each with 12 steps designed for light and dark modes.
About Radix Colors
Radix Colors is an open-source color system designed for building accessible and beautiful user interfaces. Created by the team behind Radix UI, it powers popular design systems like shadcn/ui. Each palette follows a carefully crafted 12-step scale with clearly defined semantic roles.
The system includes 31 palettes: 25 chromatic (amber, blue, crimson…) and 6 neutral grays (gray, mauve, slate, sage, olive, sand). Every palette ships in both light and dark variants that can be swapped at runtime — making it trivially easy to support dark mode without maintaining separate color sets.
The 12-step scale
Each palette uses a consistent 12-step scale where every step has a specific semantic purpose:
blueA9)Using Radix Colors
Radix Colors is commonly used via CSS variables, which makes switching between light and dark trivial. The shadcn/ui component library uses it as its default color system.
npm install @radix-ui/colors
/* Import in CSS */
@import '@radix-ui/colors/blue.css';
@import '@radix-ui/colors/blue-dark.css';
/* Use CSS variables */
color: var(--blue-11);
background: var(--blue-3);