Royal Peacock Sawfish for shadcn/ui

Royal Peacock Sawfish is a shadcn/ui theme built around a cyan primary color (#36aad9) with orange accents (#d96436). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the cyan primary (#36aad9) on a cyan-tinted background (#060c0e).

Color palette

TokenLightDark
Background
#fbfdfewhite
#060c0eblack
Foreground
#000000black
#fcfdfdwhite
Card
#fbfdfewhite
#060c0eblack
Card foreground
#000000black
#fcfdfdwhite
Popover
#fbfdfewhite
#060c0eblack
Popover foreground
#000000black
#fcfdfdwhite
Primary
#36aad9mediumturquoise
#36aad9mediumturquoise
Primary foreground
#000000black
#000000black
Secondary
#d96436chocolate
#d96436chocolate
Secondary foreground
#000000black
#000000black
Muted
#e4e2e2gainsboro
#1d1b1bblack
Muted foreground
#564843darkolivegreen
#bcaea9darkgray
Accent
#d96436chocolate
#d96436chocolate
Accent foreground
#000000black
#000000black
Destructive
#800c0amaroon
#ef2825crimson
Destructive foreground
#fac2c1pink
#ffffffwhite
Border
#ebeeefwhitesmoke
#161b1dblack
Input
#ebeeefwhitesmoke
#161b1dblack
Ring
#36aad9mediumturquoise
#36aad9mediumturquoise

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button7.93:1AAA
Secondary button5.80:1AA
Muted text6.78:1AA
Accent5.80:1AA
Destructive6.86:1AA
Dark mode
Text on background19.31:1AAA
Text on card19.31:1AAA
Primary button7.93:1AAA
Secondary button5.80:1AA
Muted text7.93:1AAA
Accent5.80:1AA
Destructive4.21:1AA Large

CSS variables

Paste this into your globals.css to use Royal Peacock Sawfish in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 223.153);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.915 0.002 43.106);
  --muted-foreground: oklch(0.415 0.022 42.75);
  --popover: oklch(0.993 0.002 223.153);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.993 0.002 223.153);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.947 0.004 223.172);
  --input: oklch(0.947 0.004 223.172);
  --primary: oklch(0.695 0.121 229.197);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.638 0.159 40.918);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.638 0.159 40.918);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.383 0.148 28.499);
  --destructive-foreground: oklch(0.865 0.065 19.606);
  --ring: oklch(0.695 0.121 229.197);
  --chart-1: oklch(0.695 0.121 229.197);
  --chart-2: oklch(0.638 0.159 40.918);
  --chart-3: oklch(0.638 0.159 40.918);
  --chart-4: oklch(0.658 0.149 41.407);
  --chart-5: oklch(0.7 0.125 229.624);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.149 0.011 222.212);
  --foreground: oklch(0.993 0 223.135);
  --muted: oklch(0.226 0.003 42.995);
  --muted-foreground: oklch(0.762 0.018 42.929);
  --popover: oklch(0.149 0.011 222.212);
  --popover-foreground: oklch(0.993 0 223.135);
  --card: oklch(0.149 0.011 222.212);
  --card-foreground: oklch(0.993 0 223.135);
  --border: oklch(0.218 0.008 223.574);
  --input: oklch(0.218 0.008 223.574);
  --primary: oklch(0.695 0.121 229.197);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.638 0.159 40.918);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.638 0.159 40.918);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.612 0.23 28.048);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.695 0.121 229.197);
  --chart-1: oklch(0.695 0.121 229.197);
  --chart-2: oklch(0.638 0.159 40.918);
  --chart-3: oklch(0.638 0.159 40.918);
  --chart-4: oklch(0.658 0.149 41.407);
  --chart-5: oklch(0.7 0.125 229.624);
}