Maximum Bio Blue for shadcn/ui

Maximum Bio Blue is a shadcn/ui theme built around a blue primary color (#465faa) with violet accents (#5f46aa). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#465faa) on a blue-tinted background (#05060a).

Color palette

TokenLightDark
Background
#ffffffwhite
#05060ablack
Foreground
#030612black
#ffffffwhite
Card
#fcfcfcsnow
#07090dblack
Card foreground
#02050dblack
#ffffffwhite
Popover
#fcfcfcsnow
#07090dblack
Popover foreground
#02050dblack
#ffffffwhite
Primary
#465faasteelblue
#465faasteelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#4691aasteelblue
#4691aasteelblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e2ebeelavender
#111a1dblack
Muted foreground
#546469dimgray
#96a6abdarkgray
Accent
#5f46aarebeccapurple
#5f46aarebeccapurple
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#bc1a01firebrick
#fe3010orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#efeff1whitesmoke
#222326darkslategray
Input
#efeff1whitesmoke
#222326darkslategray
Ring
#465faasteelblue
#465faasteelblue

Contrast

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

Light mode
Text on background20.21:1AAA
Text on card19.94:1AAA
Primary button6.06:1AA
Secondary button3.56:1AA Large
Muted text5.09:1AA
Accent7.16:1AAA
Destructive6.40:1AA
Dark mode
Text on background20.20:1AAA
Text on card19.95:1AAA
Primary button6.06:1AA
Secondary button3.56:1AA Large
Muted text7.01:1AAA
Accent7.16:1AAA
Destructive3.72:1AA Large

CSS variables

Paste this into your globals.css to use Maximum Bio Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.126 0.029 262.039);
  --muted: oklch(0.934 0.01 219.592);
  --muted-foreground: oklch(0.49 0.021 219.923);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.114 0.024 260.78);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.114 0.024 260.78);
  --border: oklch(0.953 0.002 271.39);
  --input: oklch(0.953 0.002 271.39);
  --primary: oklch(0.503 0.124 267.905);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.619 0.083 222.538);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.473 0.154 290.828);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.508 0.196 31.2);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.503 0.124 267.905);
  --chart-1: oklch(0.503 0.124 267.905);
  --chart-2: oklch(0.619 0.083 222.538);
  --chart-3: oklch(0.473 0.154 290.828);
  --chart-4: oklch(0.647 0.088 222.569);
  --chart-5: oklch(0.499 0.133 267.581);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.01 267.762);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.21 0.014 220.344);
  --muted-foreground: oklch(0.714 0.019 219.739);
  --popover: oklch(0.138 0.011 268.616);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.138 0.011 268.616);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.255 0.006 271.168);
  --input: oklch(0.255 0.006 271.168);
  --primary: oklch(0.503 0.124 267.905);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.619 0.083 222.538);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.473 0.154 290.828);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.643 0.241 31.319);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.503 0.124 267.905);
  --chart-1: oklch(0.503 0.124 267.905);
  --chart-2: oklch(0.619 0.083 222.538);
  --chart-3: oklch(0.473 0.154 290.828);
  --chart-4: oklch(0.647 0.088 222.569);
  --chart-5: oklch(0.499 0.133 267.581);
}