Slim Maastricht Blue is a shadcn/ui theme built around a deep red primary color (#541d1e) with deep orange accents (#54371d). The light mode uses a neutral background (#fdfcfc). Dark mode switches to a vivid deep blue primary (#051f42) on a neutral background (#222323).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #222323black |
| Foreground | #080202black | #ffffffwhite |
| Card | #fbf8f8snow | #161616black |
| Card foreground | #040101black | #ffffffwhite |
| Popover | #fdfcfcsnow | #161616black |
| Popover foreground | #080202black | #ffffffwhite |
| Primary | #541d1emaroon | #051f42midnightblue |
| Primary foreground | #e8bbbblightpink | #ffffffwhite |
| Secondary | #541d39darkslategray | #25a3d4lightseagreen |
| Secondary foreground | #e8bbd2thistle | #ffffffwhite |
| Muted | #f1e4eblinen | #1b0e15black |
| Muted foreground | #725564dimgray | #aa8d9crosybrown |
| Accent | #54371ddarkolivegreen | #1d1d1dblack |
| Accent foreground | #e8d0bbwheat | #e8d0bbwheat |
| Destructive | #8b1d04darkred | #f8441borangered |
| Destructive foreground | #fdcec4pink | #ffffffwhite |
| Border | #eeececlinen | #1b1818black |
| Input | #eeececlinen | #1b1818black |
| Ring | #541d1emaroon | #541d1emaroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.06:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 7.83:1 | AAA |
| Secondary button | 7.77:1 | AAA |
| Muted text | 5.32:1 | AA |
| Accent | 7.30:1 | AAA |
| Destructive | 6.53:1 | AA |
| Text on background | 15.83:1 | AAA |
| Text on card | 18.16:1 | AAA |
| Primary button | 16.39:1 | AAA |
| Secondary button | 2.88:1 | Fail |
| Muted text | 6.25:1 | AA |
| Accent | 11.32:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Slim Maastricht Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 16.004);
--foreground: oklch(0.104 0.017 18.85);
--muted: oklch(0.931 0.017 344.74);
--muted-foreground: oklch(0.484 0.045 346.553);
--popover: oklch(0.991 0.002 16.004);
--popover-foreground: oklch(0.104 0.017 18.85);
--card: oklch(0.983 0.003 16.034);
--card-foreground: oklch(0.083 0.014 18.85);
--border: oklch(0.945 0.003 16.024);
--input: oklch(0.945 0.003 16.024);
--primary: oklch(0.314 0.082 22.126);
--primary-foreground: oklch(0.831 0.052 17.129);
--secondary: oklch(0.323 0.089 351.117);
--secondary-foreground: oklch(0.837 0.06 346.025);
--accent: oklch(0.364 0.057 62.524);
--accent-foreground: oklch(0.872 0.039 65.388);
--destructive: oklch(0.416 0.148 33.236);
--destructive-foreground: oklch(0.89 0.055 32.813);
--ring: oklch(0.314 0.082 22.126);
--chart-1: oklch(0.314 0.082 22.126);
--chart-2: oklch(0.323 0.089 351.117);
--chart-3: oklch(0.364 0.057 62.524);
--chart-4: oklch(0.351 0.099 351.293);
--chart-5: oklch(0.314 0.087 22.612);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.254 0.002 240.468);
--foreground: oklch(1 0 180);
--muted: oklch(0.185 0.025 347.554);
--muted-foreground: oklch(0.674 0.042 345.804);
--popover: oklch(0.2 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.198 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.212 0.006 16.454);
--input: oklch(0.212 0.006 16.454);
--primary: oklch(0.243 0.074 256.899);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.672 0.125 230.333);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.233 0 171.254);
--accent-foreground: oklch(0.872 0.039 65.388);
--destructive: oklch(0.648 0.222 33.494);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.314 0.082 22.126);
--chart-1: oklch(0.243 0.074 256.899);
--chart-2: oklch(0.672 0.125 230.333);
--chart-3: oklch(0.233 0 171.254);
--chart-4: oklch(0.694 0.125 229.58);
--chart-5: oklch(0.243 0.076 256.856);
}