Thick Blue Quokka for shadcn/ui

Thick Blue Quokka is a shadcn/ui theme built around a blue primary color (#5c6ce0) with muted light blue accents (#cdcedb). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the blue primary (#5c6ce0) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfcfdwhite
#000000black
Foreground
#02040dblack
#ffffffwhite
Card
#f8f8fcghostwhite
#030303black
Card foreground
#020209black
#ffffffwhite
Popover
#fbfcfdwhite
#000000black
Popover foreground
#02040dblack
#ffffffwhite
Primary
#5c6ce0royalblue
#5c6ce0royalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#cdcedblightgrey
#2c2c30darkslategray
Secondary foreground
#313344darkslategray
#c4c5casilver
Muted
#d1d3e0lightgrey
#1f202edarkslategray
Muted foreground
#404045darkslategray
#babbbfsilver
Accent
#cdcedblightgrey
#2c2c30darkslategray
Accent foreground
#313344darkslategray
#c4c5casilver
Destructive
#691907maroon
#e1350eorangered
Destructive foreground
#f9b8a9lightpink
#ffffffwhite
Border
#ededeewhitesmoke
#202022black
Input
#ededeewhitesmoke
#202022black
Ring
#5c6ce0royalblue
#5c6ce0royalblue

Contrast

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

Light mode
Text on background19.91:1AAA
Text on card19.56:1AAA
Primary button4.50:1AA
Secondary button7.97:1AAA
Muted text6.92:1AA
Accent7.97:1AAA
Destructive7.13:1AAA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button4.50:1AA
Secondary button8.06:1AAA
Muted text8.37:1AAA
Accent8.06:1AAA
Destructive4.44:1AA Large

CSS variables

Paste this into your globals.css to use Thick Blue Quokka in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.002 280.293);
  --foreground: oklch(0.108 0.027 271.839);
  --muted: oklch(0.869 0.019 279.988);
  --muted-foreground: oklch(0.374 0.008 279.989);
  --popover: oklch(0.99 0.002 280.293);
  --popover-foreground: oklch(0.108 0.027 271.839);
  --card: oklch(0.981 0.005 280.254);
  --card-foreground: oklch(0.094 0.023 271.759);
  --border: oklch(0.945 0.001 280.309);
  --input: oklch(0.945 0.001 280.309);
  --primary: oklch(0.579 0.176 273.903);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.855 0.017 280.014);
  --secondary-foreground: oklch(0.328 0.029 278.768);
  --accent: oklch(0.855 0.017 280.014);
  --accent-foreground: oklch(0.328 0.029 278.768);
  --destructive: oklch(0.348 0.117 33.751);
  --destructive-foreground: oklch(0.838 0.08 33.002);
  --ring: oklch(0.579 0.176 273.903);
  --chart-1: oklch(0.579 0.176 273.903);
  --chart-2: oklch(0.855 0.017 280.014);
  --chart-3: oklch(0.855 0.017 280.014);
  --chart-4: oklch(0.881 0.014 280.081);
  --chart-5: oklch(0.575 0.184 273.507);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.25 0.026 278.512);
  --muted-foreground: oklch(0.792 0.007 280.2);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.246 0.003 280.117);
  --input: oklch(0.246 0.003 280.117);
  --primary: oklch(0.579 0.176 273.903);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.295 0.007 279.931);
  --secondary-foreground: oklch(0.824 0.007 280.199);
  --accent: oklch(0.295 0.007 279.931);
  --accent-foreground: oklch(0.824 0.007 280.199);
  --destructive: oklch(0.596 0.213 33.025);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.579 0.176 273.903);
  --chart-1: oklch(0.579 0.176 273.903);
  --chart-2: oklch(0.295 0.007 279.931);
  --chart-3: oklch(0.295 0.007 279.931);
  --chart-4: oklch(0.324 0.008 279.916);
  --chart-5: oklch(0.575 0.184 273.507);
}