Claude.ai is a shadcn/ui theme built around an orange primary color (#b05730) with muted light yellow accents (#ded8c4). The light mode uses a yellow-tinted background (#f2f1e9). Dark mode keeps the orange primary (#b05730) on a neutral background (#2c2c29).
| Token | Light | Dark |
|---|---|---|
| Background | #f2f1e9linen | #2c2c29darkslategray |
| Foreground | #3d3929darkslategray | #e5e5e2gainsboro |
| Card | #e8e3d5gainsboro | #22211eblack |
| Card foreground | #3d3929darkslategray | #e5e5e2gainsboro |
| Popover | #e7e5d8gainsboro | #21201cblack |
| Popover foreground | #28261bblack | #e5e5e2gainsboro |
| Primary | #b05730sienna | #b05730sienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d2c7ecthistle | #29253edarkslategray |
| Secondary foreground | #535146darkolivegreen | #ceccc5lightgrey |
| Muted | #ede9debeige | #272623darkslategray |
| Muted foreground | #656358dimgray | #b7b5a9darkgray |
| Accent | #ded8c4lightgrey | #1a1915black |
| Accent foreground | #28261bblack | #f5f4eewhitesmoke |
| Destructive | #ef4444tomato | #ef4444tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #d4d2c8lightgrey | #3e3e38darkslategray |
| Input | #b4b2a7darkgray | #52514adarkslategray |
| Ring | #207fdedodgerblue | #207fdedodgerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.20:1 | AAA |
| Text on card | 9.02:1 | AAA |
| Primary button | 4.94:1 | AA |
| Secondary button | 4.98:1 | AA |
| Muted text | 4.97:1 | AA |
| Accent | 10.64:1 | AAA |
| Destructive | 3.76:1 | AA Large |
| Text on background | 11.09:1 | AAA |
| Text on card | 12.75:1 | AAA |
| Primary button | 4.94:1 | AA |
| Secondary button | 9.14:1 | AAA |
| Muted text | 7.34:1 | AAA |
| Accent | 15.96:1 | AAA |
| Destructive | 3.76:1 | AA Large |
Paste this into your globals.css to use Claude.ai in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.957 0.011 100.821);
--foreground: oklch(0.344 0.027 95.723);
--muted: oklch(0.934 0.015 90.239);
--muted-foreground: oklch(0.498 0.017 98.53);
--popover: oklch(0.92 0.017 99.615);
--popover-foreground: oklch(0.267 0.02 98.94);
--card: oklch(0.916 0.019 90.549);
--card-foreground: oklch(0.344 0.027 95.723);
--border: oklch(0.863 0.014 97.468);
--input: oklch(0.762 0.016 98.354);
--primary: oklch(0.558 0.128 42.615);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.85 0.053 298.343);
--secondary-foreground: oklch(0.433 0.018 98.606);
--accent: oklch(0.882 0.028 93.123);
--accent-foreground: oklch(0.267 0.02 98.94);
--destructive: oklch(0.637 0.208 25.33);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.594 0.167 253.063);
--chart-1: oklch(0.558 0.128 42.615);
--chart-2: oklch(0.85 0.053 298.343);
--chart-3: oklch(0.882 0.028 93.123);
--chart-4: oklch(0.881 0.041 298.601);
--chart-5: oklch(0.56 0.134 42.359);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.292 0.005 106.725);
--foreground: oklch(0.921 0.004 106.478);
--muted: oklch(0.269 0.006 91.581);
--muted-foreground: oklch(0.771 0.017 99.067);
--popover: oklch(0.243 0.008 95.373);
--popover-foreground: oklch(0.921 0.004 106.478);
--card: oklch(0.248 0.006 91.597);
--card-foreground: oklch(0.921 0.004 106.478);
--border: oklch(0.362 0.01 106.892);
--input: oklch(0.434 0.011 100.22);
--primary: oklch(0.558 0.128 42.615);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.281 0.046 290.499);
--secondary-foreground: oklch(0.845 0.01 93.591);
--accent: oklch(0.213 0.008 95.425);
--accent-foreground: oklch(0.966 0.008 98.881);
--destructive: oklch(0.637 0.208 25.33);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.594 0.167 253.063);
--chart-1: oklch(0.558 0.128 42.615);
--chart-2: oklch(0.281 0.046 290.499);
--chart-3: oklch(0.213 0.008 95.425);
--chart-4: oklch(0.307 0.051 290.375);
--chart-5: oklch(0.56 0.134 42.359);
}