Patient Rave Regatta for shadcn/ui

Patient Rave Regatta is a shadcn/ui theme built around a vivid blue primary color (#025f9d) with muted light blue accents (#ced5d9). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the vivid blue primary (#025f9d) on a blue-tinted background (#060b0f).

Color palette

TokenLightDark
Background
#f7fbfdghostwhite
#060b0fblack
Foreground
#030c11black
#fcfdfdwhite
Card
#f3f8fcaliceblue
#070e12black
Card foreground
#02090dblack
#ffffffwhite
Popover
#f7fbfdghostwhite
#060b0fblack
Popover foreground
#030c11black
#fcfdfdwhite
Primary
#025f9dteal
#025f9dteal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#eaebeblavender
#2d2e2fdarkslategray
Secondary foreground
#4e5255darkslategray
#c5c7c9silver
Muted
#dde4e9gainsboro
#161d22black
Muted foreground
#576975dimgray
#8a9ca8lightslategray
Accent
#ced5d9lightgrey
#41494edarkslategray
Accent foreground
#333c42darkslategray
#dee1e3gainsboro
Destructive
#c93c0dfirebrick
#f1521eorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#025f9dteal
#025f9dteal

Contrast

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

Light mode
Text on background18.88:1AAA
Text on card18.77:1AAA
Primary button6.76:1AA
Secondary button6.59:1AA
Muted text4.44:1AA Large
Accent7.57:1AAA
Destructive5.06:1AA
Dark mode
Text on background19.39:1AAA
Text on card19.43:1AAA
Primary button6.76:1AA
Secondary button8.02:1AAA
Muted text5.99:1AA
Accent7.01:1AAA
Destructive3.52:1AA Large

CSS variables

Paste this into your globals.css to use Patient Rave Regatta in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.005 236.509);
  --foreground: oklch(0.146 0.02 233.205);
  --muted: oklch(0.915 0.01 236.592);
  --muted-foreground: oklch(0.51 0.029 237.354);
  --popover: oklch(0.985 0.005 236.509);
  --popover-foreground: oklch(0.146 0.02 233.205);
  --card: oklch(0.977 0.008 236.548);
  --card-foreground: oklch(0.132 0.017 229.205);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.471 0.124 247.407);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.939 0.001 236.456);
  --secondary-foreground: oklch(0.437 0.007 236.656);
  --accent: oklch(0.868 0.01 236.596);
  --accent-foreground: oklch(0.351 0.016 237.149);
  --destructive: oklch(0.56 0.185 36.096);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.471 0.124 247.407);
  --chart-1: oklch(0.471 0.124 247.407);
  --chart-2: oklch(0.939 0.001 236.456);
  --chart-3: oklch(0.868 0.01 236.596);
  --chart-4: oklch(0.962 0.001 236.448);
  --chart-5: oklch(0.474 0.127 247.79);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.145 0.012 234.661);
  --foreground: oklch(0.992 0.001 236.454);
  --muted: oklch(0.227 0.014 237.418);
  --muted-foreground: oklch(0.683 0.028 237.051);
  --popover: oklch(0.145 0.012 234.661);
  --popover-foreground: oklch(0.992 0.001 236.454);
  --card: oklch(0.158 0.014 236.987);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.471 0.124 247.407);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.301 0.003 236.583);
  --secondary-foreground: oklch(0.829 0.003 236.486);
  --accent: oklch(0.399 0.013 236.935);
  --accent-foreground: oklch(0.908 0.005 236.509);
  --destructive: oklch(0.651 0.203 36.996);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.471 0.124 247.407);
  --chart-1: oklch(0.471 0.124 247.407);
  --chart-2: oklch(0.301 0.003 236.583);
  --chart-3: oklch(0.399 0.013 236.935);
  --chart-4: oklch(0.331 0.004 236.588);
  --chart-5: oklch(0.474 0.127 247.79);
}