Serenity’s Reign Scallop for shadcn/ui

Serenity’s Reign Scallop is a shadcn/ui theme built around a blue primary color (#437ddb) with green accents (#7ddb43). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the blue primary (#437ddb) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#fbfcfdwhite
#010204black
Foreground
#020408black
#f8f9fcghostwhite
Card
#f8f9fcghostwhite
#030508black
Card foreground
#010204black
#fcfcfdwhite
Popover
#f8f9fcghostwhite
#030508black
Popover foreground
#010204black
#fcfcfdwhite
Primary
#437ddbroyalblue
#437ddbroyalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#db437dindianred
#db437dindianred
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e7dadfgainsboro
#25181dblack
Muted foreground
#605c5edimgray
#a39fa0darkgray
Accent
#7ddb43yellowgreen
#7ddb43yellowgreen
Accent foreground
#22450ddarkgreen
#22450ddarkgreen
Destructive
#792102maroon
#fc632ctomato
Destructive foreground
#fec4aflightpink
#000000black
Border
#e8eaedlavender
#16191dblack
Input
#e8eaedlavender
#16191dblack
Ring
#437ddbroyalblue
#437ddbroyalblue

Contrast

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

Light mode
Text on background20.02:1AAA
Text on card19.75:1AAA
Primary button4.04:1AA Large
Secondary button4.11:1AA Large
Muted text4.85:1AA
Accent6.28:1AA
Destructive6.76:1AA
Dark mode
Text on background19.68:1AAA
Text on card19.95:1AAA
Primary button4.04:1AA Large
Secondary button4.11:1AA Large
Muted text6.53:1AA
Accent6.28:1AA
Destructive6.96:1AA

CSS variables

Paste this into your globals.css to use Serenity’s Reign Scallop in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 259.936);
  --foreground: oklch(0.107 0.015 250.441);
  --muted: oklch(0.9 0.016 352.079);
  --muted-foreground: oklch(0.48 0.005 351.906);
  --popover: oklch(0.983 0.004 259.938);
  --popover-foreground: oklch(0.085 0.012 250.441);
  --card: oklch(0.983 0.004 259.938);
  --card-foreground: oklch(0.085 0.012 250.441);
  --border: oklch(0.936 0.005 259.94);
  --input: oklch(0.936 0.005 259.94);
  --primary: oklch(0.598 0.156 259.501);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.615 0.194 1.331);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.804 0.206 135.899);
  --accent-foreground: oklch(0.35 0.091 136.037);
  --destructive: oklch(0.386 0.126 37.338);
  --destructive-foreground: oklch(0.866 0.073 40.891);
  --ring: oklch(0.598 0.156 259.501);
  --chart-1: oklch(0.598 0.156 259.501);
  --chart-2: oklch(0.615 0.194 1.331);
  --chart-3: oklch(0.804 0.206 135.899);
  --chart-4: oklch(0.635 0.183 0.091);
  --chart-5: oklch(0.597 0.163 259.521);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.009 252.759);
  --foreground: oklch(0.983 0.003 259.938);
  --muted: oklch(0.228 0.022 354.23);
  --muted-foreground: oklch(0.705 0.005 351.786);
  --popover: oklch(0.109 0.012 252.759);
  --popover-foreground: oklch(0.992 0.002 259.936);
  --card: oklch(0.109 0.012 252.759);
  --card-foreground: oklch(0.992 0.002 259.936);
  --border: oklch(0.211 0.01 259.924);
  --input: oklch(0.211 0.01 259.924);
  --primary: oklch(0.598 0.156 259.501);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.615 0.194 1.331);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.804 0.206 135.899);
  --accent-foreground: oklch(0.35 0.091 136.037);
  --destructive: oklch(0.689 0.198 38.765);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.598 0.156 259.501);
  --chart-1: oklch(0.598 0.156 259.501);
  --chart-2: oklch(0.615 0.194 1.331);
  --chart-3: oklch(0.804 0.206 135.899);
  --chart-4: oklch(0.635 0.183 0.091);
  --chart-5: oklch(0.597 0.163 259.521);
}