Sagen 01 for shadcn/ui

Sagen 01 is a shadcn/ui theme built around a vivid blue primary color (#007bff) with near-white accents (#eaebeb). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the vivid blue primary (#007bff) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#000000black
Foreground
#03080cblack
#ffffffwhite
Card
#f8fafcghostwhite
#030303black
Card foreground
#020508black
#ffffffwhite
Popover
#f8fafcghostwhite
#030303black
Popover foreground
#020508black
#ffffffwhite
Primary
#007bffdodgerblue
#007bffdodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#eaebeblavender
#292929darkslategray
Secondary foreground
#4e5155darkslategray
#c2c2c2silver
Muted
#d6d9dbgainsboro
#353941darkslategray
Muted foreground
#4b4c4edarkslategray
#b4b1b1darkgray
Accent
#eaebeblavender
#292929darkslategray
Accent foreground
#4e5155darkslategray
#c2c2c2silver
Destructive
#8b1f04darkred
#f8542atomato
Destructive foreground
#fdcfc4peachpuff
#000000black
Border
#e0e3e5gainsboro
#23262adarkslategray
Input
#e0e3e5gainsboro
#23262adarkslategray
Ring
#007bffdodgerblue
#007bffdodgerblue

Contrast

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

Light mode
Text on background19.66:1AAA
Text on card19.51:1AAA
Primary button3.97:1AA Large
Secondary button6.66:1AA
Muted text6.05:1AA
Accent6.66:1AA
Destructive6.50:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button3.97:1AA Large
Secondary button8.18:1AAA
Muted text5.44:1AA
Accent8.18:1AAA
Destructive6.29:1AA

CSS variables

Paste this into your globals.css to use Sagen 01 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.001 249.663);
  --foreground: oklch(0.128 0.014 242.198);
  --muted: oklch(0.883 0.004 249.693);
  --muted-foreground: oklch(0.417 0.003 249.723);
  --popover: oklch(0.984 0.003 249.677);
  --popover-foreground: oklch(0.112 0.012 241.634);
  --card: oklch(0.984 0.003 249.677);
  --card-foreground: oklch(0.112 0.012 241.634);
  --border: oklch(0.914 0.004 249.696);
  --input: oklch(0.914 0.004 249.696);
  --primary: oklch(0.605 0.216 257.16);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.938 0.001 249.664);
  --secondary-foreground: oklch(0.435 0.007 249.796);
  --accent: oklch(0.938 0.001 249.664);
  --accent-foreground: oklch(0.435 0.007 249.796);
  --destructive: oklch(0.418 0.147 33.894);
  --destructive-foreground: oklch(0.892 0.055 34.365);
  --ring: oklch(0.605 0.216 257.16);
  --chart-1: oklch(0.605 0.216 257.16);
  --chart-2: oklch(0.938 0.001 249.664);
  --chart-3: oklch(0.938 0.001 249.664);
  --chart-4: oklch(0.962 0.001 249.659);
  --chart-5: oklch(0.608 0.221 257.449);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.344 0.015 263.593);
  --muted-foreground: oklch(0.763 0.003 17.233);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.267 0.008 249.925);
  --input: oklch(0.267 0.008 249.925);
  --primary: oklch(0.605 0.216 257.16);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.28 0 180);
  --secondary-foreground: oklch(0.813 0 165.964);
  --accent: oklch(0.28 0 180);
  --accent-foreground: oklch(0.813 0 165.964);
  --destructive: oklch(0.665 0.208 34.782);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.605 0.216 257.16);
  --chart-1: oklch(0.605 0.216 257.16);
  --chart-2: oklch(0.28 0 180);
  --chart-3: oklch(0.28 0 180);
  --chart-4: oklch(0.311 0 180);
  --chart-5: oklch(0.608 0.221 257.449);
}