Guilliman Blue Mothl for shadcn/ui

Guilliman Blue Mothl is a shadcn/ui theme built around a vivid blue primary color (#7799f9) with muted light blue accents (#b7bed2). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the vivid blue primary (#7799f9) on a neutral background (#020204).

Color palette

TokenLightDark
Background
#f8f9fcghostwhite
#020204black
Foreground
#020712black
#fcfcfdwhite
Card
#f8f9fcghostwhite
#020204black
Card foreground
#020712black
#fcfcfdwhite
Popover
#f8f9fcghostwhite
#020204black
Popover foreground
#020712black
#fcfcfdwhite
Primary
#7799f9cornflowerblue
#7799f9cornflowerblue
Primary foreground
#03123amidnightblue
#03123amidnightblue
Secondary
#d9dce3gainsboro
#2a2d37darkslategray
Secondary foreground
#3b404fdarkslategray
#c2c6d1silver
Muted
#f0f1f5whitesmoke
#0a0c0fblack
Muted foreground
#484f60darkslategray
#9fa5b7darkgray
Accent
#b7bed2lightsteelblue
#323a4ddarkslategray
Accent foreground
#212735darkslategray
#d1d5e1gainsboro
Destructive
#631903maroon
#fa6538tomato
Destructive foreground
#fcb29cburlywood
#000000black
Border
#e2e4e9gainsboro
#21242cdarkslategray
Input
#e2e4e9gainsboro
#21242cdarkslategray
Ring
#7799f9cornflowerblue
#7799f9cornflowerblue

Contrast

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

Light mode
Text on background19.12:1AAA
Text on card19.12:1AAA
Primary button6.70:1AA
Secondary button7.50:1AAA
Muted text7.25:1AAA
Accent8.04:1AAA
Destructive7.14:1AAA
Dark mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button6.70:1AA
Secondary button8.02:1AAA
Muted text7.97:1AAA
Accent7.77:1AAA
Destructive6.99:1AA

CSS variables

Paste this into your globals.css to use Guilliman Blue Mothl in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 270.083);
  --foreground: oklch(0.127 0.029 260.465);
  --muted: oklch(0.958 0.005 270.074);
  --muted-foreground: oklch(0.427 0.03 269.414);
  --popover: oklch(0.982 0.005 270.083);
  --popover-foreground: oklch(0.127 0.029 260.465);
  --card: oklch(0.982 0.005 270.083);
  --card-foreground: oklch(0.127 0.029 260.465);
  --border: oklch(0.918 0.007 270.054);
  --input: oklch(0.918 0.007 270.054);
  --primary: oklch(0.7 0.145 267.49);
  --primary-foreground: oklch(0.2 0.082 263.264);
  --secondary: oklch(0.893 0.01 270.023);
  --secondary-foreground: oklch(0.373 0.027 269.379);
  --accent: oklch(0.802 0.029 269.788);
  --accent-foreground: oklch(0.273 0.028 268.986);
  --destructive: oklch(0.336 0.111 36.308);
  --destructive-foreground: oklch(0.829 0.093 37.634);
  --ring: oklch(0.7 0.145 267.49);
  --chart-1: oklch(0.7 0.145 267.49);
  --chart-2: oklch(0.893 0.01 270.023);
  --chart-3: oklch(0.802 0.029 269.788);
  --chart-4: oklch(0.918 0.008 270.049);
  --chart-5: oklch(0.698 0.15 267.376);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.008 265.104);
  --foreground: oklch(0.991 0.002 270.105);
  --muted: oklch(0.152 0.009 269.581);
  --muted-foreground: oklch(0.724 0.026 269.791);
  --popover: oklch(0.086 0.008 265.104);
  --popover-foreground: oklch(0.991 0.002 270.105);
  --card: oklch(0.086 0.008 265.104);
  --card-foreground: oklch(0.991 0.002 270.105);
  --border: oklch(0.26 0.015 269.539);
  --input: oklch(0.26 0.015 269.539);
  --primary: oklch(0.7 0.145 267.49);
  --primary-foreground: oklch(0.2 0.082 263.264);
  --secondary: oklch(0.299 0.019 269.496);
  --secondary-foreground: oklch(0.827 0.016 269.954);
  --accent: oklch(0.348 0.036 269);
  --accent-foreground: oklch(0.873 0.017 269.954);
  --destructive: oklch(0.69 0.192 37.122);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.7 0.145 267.49);
  --chart-1: oklch(0.7 0.145 267.49);
  --chart-2: oklch(0.299 0.019 269.496);
  --chart-3: oklch(0.348 0.036 269);
  --chart-4: oklch(0.327 0.021 269.472);
  --chart-5: oklch(0.698 0.15 267.376);
}