Slim Maastricht Blue for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.06:1AAA
Text on card19.74:1AAA
Primary button7.83:1AAA
Secondary button7.77:1AAA
Muted text5.32:1AA
Accent7.30:1AAA
Destructive6.53:1AA
Dark mode
Text on background15.83:1AAA
Text on card18.16:1AAA
Primary button16.39:1AAA
Secondary button2.88:1Fail
Muted text6.25:1AA
Accent11.32:1AAA
Destructive3.60:1AA Large

CSS variables

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);
}