Argument is a shadcn/ui theme built around a blue primary color (#1c618d) with muted light blue accents (#c2cbd0). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#1c618d) on a blue-tinted background (#070b0e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070b0eblack |
| Foreground | #03090cblack | #f5f8fawhitesmoke |
| Card | #fcfcfcsnow | #080e11black |
| Card foreground | #020608black | #f8fafcghostwhite |
| Popover | #ffffffwhite | #070b0eblack |
| Popover foreground | #03090cblack | #f5f8fawhitesmoke |
| Primary | #1c618dteal | #1c618dteal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dddedfgainsboro | #2e3438darkslategray |
| Secondary foreground | #424548darkslategray | #c7cdd1lightgrey |
| Muted | #e3ecf3lavender | #0c161cblack |
| Muted foreground | #3c4449darkslategray | #b6bec3silver |
| Accent | #c2cbd0lightgrey | #38454ddarkslategray |
| Accent foreground | #2a3237darkslategray | #d6dde1gainsboro |
| Destructive | #b93713firebrick | #ea5b34tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1c618dteal | #1c618dteal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.03:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 6.66:1 | AA |
| Secondary button | 7.16:1 | AAA |
| Muted text | 8.31:1 | AAA |
| Accent | 7.93:1 | AAA |
| Destructive | 5.81:1 | AA |
| Text on background | 18.52:1 | AAA |
| Text on card | 18.57:1 | AAA |
| Primary button | 6.66:1 | AA |
| Secondary button | 7.84:1 | AAA |
| Muted text | 9.68:1 | AAA |
| Accent | 7.21:1 | AAA |
| Destructive | 6.04:1 | AA |
Paste this into your globals.css to use Argument in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.132 0.015 228.259);
--muted: oklch(0.939 0.013 234.713);
--muted-foreground: oklch(0.381 0.014 235.062);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.132 0.015 228.259);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.115 0.013 227.388);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.473 0.097 241.118);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.9 0.002 234.542);
--secondary-foreground: oklch(0.39 0.006 234.721);
--accent: oklch(0.837 0.012 234.715);
--accent-foreground: oklch(0.311 0.014 235.197);
--destructive: oklch(0.527 0.172 35.157);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.473 0.097 241.118);
--chart-1: oklch(0.473 0.097 241.118);
--chart-2: oklch(0.9 0.002 234.542);
--chart-3: oklch(0.837 0.012 234.715);
--chart-4: oklch(0.923 0.002 234.533);
--chart-5: oklch(0.475 0.1 241.573);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.146 0.01 233.299);
--foreground: oklch(0.977 0.004 234.566);
--muted: oklch(0.195 0.019 236.334);
--muted-foreground: oklch(0.797 0.012 234.717);
--popover: oklch(0.146 0.01 233.299);
--popover-foreground: oklch(0.977 0.004 234.566);
--card: oklch(0.158 0.011 235.303);
--card-foreground: oklch(0.985 0.003 234.546);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.473 0.097 241.118);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.321 0.01 234.976);
--secondary-foreground: oklch(0.845 0.008 234.641);
--accent: oklch(0.381 0.022 235.44);
--accent-foreground: oklch(0.892 0.01 234.663);
--destructive: oklch(0.652 0.185 36.074);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.473 0.097 241.118);
--chart-1: oklch(0.473 0.097 241.118);
--chart-2: oklch(0.321 0.01 234.976);
--chart-3: oklch(0.381 0.022 235.44);
--chart-4: oklch(0.351 0.011 234.991);
--chart-5: oklch(0.475 0.1 241.573);
}