Bluerocratic Octopus for shadcn/ui

Bluerocratic Octopus is a shadcn/ui theme built around a vivid blue primary color (#1e65ff) with vivid violet accents (#702ef3). The light mode uses a neutral background (#fafafa). Dark mode keeps the vivid blue primary (#1e65ff) on a neutral background (#0f0f0f).

Color palette

TokenLightDark
Background
#fafafasnow
#0f0f0fblack
Foreground
#060c13black
#ffffffwhite
Card
#f5f5f5whitesmoke
#0a0a0ablack
Card foreground
#050a10black
#ffffffwhite
Popover
#f5f5f5whitesmoke
#0a0a0ablack
Popover foreground
#060c13black
#ffffffwhite
Primary
#1e65ffdodgerblue
#1e65ffdodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c8ccd0lightgrey
#141414black
Secondary foreground
#2f3337darkslategray
#646464dimgray
Muted
#c8c8c8silver
#141414black
Muted foreground
#515252darkslategray
#787878gray
Accent
#702ef3blueviolet
#702ef3blueviolet
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#fc1a70deeppink
#fc1a70deeppink
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#dcdcdcgainsboro
#1a1e23black
Input
#e8eaeelavender
#1a1e23black
Ring
#ff4d00orangered
#ff4d00orangered

Contrast

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

Light mode
Text on background18.80:1AAA
Text on card18.21:1AAA
Primary button4.81:1AA
Secondary button7.87:1AAA
Muted text4.68:1AA
Accent6.22:1AA
Destructive3.80:1AA Large
Dark mode
Text on background19.16:1AAA
Text on card19.79:1AAA
Primary button4.81:1AA
Secondary button3.11:1AA Large
Muted text4.17:1AA Large
Accent6.22:1AA
Destructive3.80:1AA Large

CSS variables

Paste this into your globals.css to use Bluerocratic Octopus in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0 170.538);
  --foreground: oklch(0.153 0.019 250.258);
  --muted: oklch(0.833 0 180);
  --muted-foreground: oklch(0.437 0.002 251.483);
  --popover: oklch(0.97 0 187.595);
  --popover-foreground: oklch(0.153 0.019 250.258);
  --card: oklch(0.97 0 187.595);
  --card-foreground: oklch(0.141 0.016 247.411);
  --border: oklch(0.894 0 180);
  --input: oklch(0.937 0.005 251.497);
  --primary: oklch(0.565 0.239 262.74);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.843 0.006 251.512);
  --secondary-foreground: oklch(0.318 0.008 251.649);
  --accent: oklch(0.523 0.263 288.833);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.641 0.248 7.827);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.668 0.224 36.988);
  --chart-1: oklch(0.565 0.239 262.74);
  --chart-2: oklch(0.843 0.006 251.512);
  --chart-3: oklch(0.523 0.263 288.833);
  --chart-4: oklch(0.867 0.005 251.501);
  --chart-5: oklch(0.565 0.245 262.742);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.168 0 180);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.191 0 180);
  --muted-foreground: oklch(0.573 0 180);
  --popover: oklch(0.145 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.145 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.234 0.011 251.807);
  --input: oklch(0.234 0.011 251.807);
  --primary: oklch(0.565 0.239 262.74);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.191 0 180);
  --secondary-foreground: oklch(0.503 0 170.538);
  --accent: oklch(0.523 0.263 288.833);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.641 0.248 7.827);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.668 0.224 36.988);
  --chart-1: oklch(0.565 0.239 262.74);
  --chart-2: oklch(0.191 0 180);
  --chart-3: oklch(0.523 0.263 288.833);
  --chart-4: oklch(0.225 0 169.695);
  --chart-5: oklch(0.565 0.245 262.742);
}