Tokyo Night Storm is a shadcn/ui theme built around a blue primary color (#3e5aa3) with muted blue accents (#42496c). The light mode uses a blue-tinted background (#25293c). Dark mode keeps the blue primary (#3e5aa3) on a blue-tinted background (#25293c).
| Token | Light | Dark |
|---|---|---|
| Background | #25293cdarkslategray | #25293cdarkslategray |
| Foreground | #a9b1d6lightsteelblue | #a9b1d6lightsteelblue |
| Card | #212436darkslategray | #212436darkslategray |
| Card foreground | #bac1delightsteelblue | #bac1delightsteelblue |
| Popover | #1f2233darkslategray | #1f2233darkslategray |
| Popover foreground | #cbd0e6lightgrey | #cbd0e6lightgrey |
| Primary | #3e5aa3darkslateblue | #3e5aa3darkslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acb7d2lightsteelblue | #acb7d2lightsteelblue |
| Secondary foreground | #1b2132darkslategray | #1b2132darkslategray |
| Muted | #343642darkslategray | #343642darkslategray |
| Muted foreground | #b2b5c2silver | #b2b5c2silver |
| Accent | #42496cdarkslateblue | #42496cdarkslateblue |
| Accent foreground | #ecedf3lavender | #ecedf3lavender |
| Destructive | #ea443etomato | #ea443etomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #353746darkslategray | #353746darkslategray |
| Input | #3b3e4edarkslategray | #3b3e4edarkslategray |
| Ring | #3e5aa3darkslateblue | #3e5aa3darkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.82:1 | AA |
| Text on card | 8.56:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 7.50:1 | AAA |
| Destructive | 3.90:1 | AA Large |
| Text on background | 6.82:1 | AA |
| Text on card | 8.56:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 7.50:1 | AAA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Tokyo Night Storm in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.285 0.036 275.174);
--foreground: oklch(0.767 0.053 275.156);
--muted: oklch(0.335 0.021 276.317);
--muted-foreground: oklch(0.774 0.02 276.896);
--popover: oklch(0.258 0.031 275.28);
--popover-foreground: oklch(0.861 0.031 275.674);
--card: oklch(0.267 0.033 275.242);
--card-foreground: oklch(0.814 0.042 275.44);
--border: oklch(0.342 0.025 276.119);
--input: oklch(0.369 0.028 276.09);
--primary: oklch(0.484 0.121 265.821);
--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.414 0.059 274.876);
--accent-foreground: oklch(0.948 0.008 277.138);
--destructive: oklch(0.627 0.203 26.856);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.484 0.121 265.821);
--chart-1: oklch(0.484 0.121 265.821);
--chart-2: oklch(0.78 0.041 268.343);
--chart-3: oklch(0.414 0.059 274.876);
--chart-4: oklch(0.807 0.036 268.425);
--chart-5: oklch(0.481 0.129 265.579);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.285 0.036 275.174);
--foreground: oklch(0.767 0.053 275.156);
--muted: oklch(0.335 0.021 276.317);
--muted-foreground: oklch(0.774 0.02 276.896);
--popover: oklch(0.258 0.031 275.28);
--popover-foreground: oklch(0.861 0.031 275.674);
--card: oklch(0.267 0.033 275.242);
--card-foreground: oklch(0.814 0.042 275.44);
--border: oklch(0.342 0.025 276.119);
--input: oklch(0.369 0.028 276.09);
--primary: oklch(0.484 0.121 265.821);
--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.414 0.059 274.876);
--accent-foreground: oklch(0.948 0.008 277.138);
--destructive: oklch(0.627 0.203 26.856);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.484 0.121 265.821);
--chart-1: oklch(0.484 0.121 265.821);
--chart-2: oklch(0.78 0.041 268.343);
--chart-3: oklch(0.414 0.059 274.876);
--chart-4: oklch(0.807 0.036 268.425);
--chart-5: oklch(0.481 0.129 265.579);
}