TokyoLight is a shadcn/ui theme built around a blue primary color (#637dbf) with light indigo accents (#c9c9e4). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the blue primary (#637dbf) on a neutral background (#fcfcfd).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #fcfcfdwhite |
| Foreground | #353c5adarkslategray | #353c5adarkslategray |
| Card | #f5f5fawhitesmoke | #f5f5fawhitesmoke |
| Card foreground | #2b314adarkslategray | #2b314adarkslategray |
| Popover | #f1f1f8whitesmoke | #f1f1f8whitesmoke |
| Popover foreground | #22263adarkslategray | #22263adarkslategray |
| Primary | #637dbfsteelblue | #637dbfsteelblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acb7d2lightsteelblue | #acb7d2lightsteelblue |
| Secondary foreground | #1b2132darkslategray | #1b2132darkslategray |
| Muted | #e2e2e9gainsboro | #e2e2e9gainsboro |
| Muted foreground | #434356darkslategray | #434356darkslategray |
| Accent | #c9c9e4thistle | #c9c9e4thistle |
| Accent foreground | #292951midnightblue | #292951midnightblue |
| Destructive | #731907maroon | #731907maroon |
| Destructive foreground | #fabeb2lightpink | #fabeb2lightpink |
| Border | #ececf3lavender | #ececf3lavender |
| Input | #e3e3edlavender | #e3e3edlavender |
| Ring | #637dbfsteelblue | #637dbfsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.49:1 | AAA |
| Text on card | 11.75:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 7.98:1 | AAA |
| Muted text | 7.51:1 | AAA |
| Accent | 8.44:1 | AAA |
| Destructive | 6.97:1 | AA |
| Text on background | 10.49:1 | AAA |
| Text on card | 11.75:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 7.98:1 | AAA |
| Muted text | 7.51:1 | AAA |
| Accent | 8.44:1 | AAA |
| Destructive | 6.97:1 | AA |
Paste this into your globals.css to use TokyoLight in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.002 286.359);
--foreground: oklch(0.363 0.053 273.78);
--muted: oklch(0.916 0.008 286.236);
--muted-foreground: oklch(0.391 0.031 284.884);
--popover: oklch(0.961 0.009 286.23);
--popover-foreground: oklch(0.275 0.037 274.034);
--card: oklch(0.971 0.007 286.274);
--card-foreground: oklch(0.32 0.045 273.885);
--border: oklch(0.946 0.009 286.218);
--input: oklch(0.918 0.014 286.116);
--primary: oklch(0.599 0.106 266.838);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.78 0.041 268.343);
--secondary-foreground: oklch(0.251 0.033 267.437);
--accent: oklch(0.844 0.037 285.574);
--accent-foreground: oklch(0.303 0.072 281.253);
--destructive: oklch(0.367 0.127 32.924);
--destructive-foreground: oklch(0.853 0.071 31.446);
--ring: oklch(0.599 0.106 266.838);
--chart-1: oklch(0.599 0.106 266.838);
--chart-2: oklch(0.78 0.041 268.343);
--chart-3: oklch(0.844 0.037 285.574);
--chart-4: oklch(0.807 0.036 268.425);
--chart-5: oklch(0.596 0.113 266.652);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.99 0.002 286.359);
--foreground: oklch(0.363 0.053 273.78);
--muted: oklch(0.916 0.008 286.236);
--muted-foreground: oklch(0.391 0.031 284.884);
--popover: oklch(0.961 0.009 286.23);
--popover-foreground: oklch(0.275 0.037 274.034);
--card: oklch(0.971 0.007 286.274);
--card-foreground: oklch(0.32 0.045 273.885);
--border: oklch(0.946 0.009 286.218);
--input: oklch(0.918 0.014 286.116);
--primary: oklch(0.599 0.106 266.838);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.78 0.041 268.343);
--secondary-foreground: oklch(0.251 0.033 267.437);
--accent: oklch(0.844 0.037 285.574);
--accent-foreground: oklch(0.303 0.072 281.253);
--destructive: oklch(0.367 0.127 32.924);
--destructive-foreground: oklch(0.853 0.071 31.446);
--ring: oklch(0.599 0.106 266.838);
--chart-1: oklch(0.599 0.106 266.838);
--chart-2: oklch(0.78 0.041 268.343);
--chart-3: oklch(0.844 0.037 285.574);
--chart-4: oklch(0.807 0.036 268.425);
--chart-5: oklch(0.596 0.113 266.652);
}