Flexible Stratos Blue for shadcn/ui

Flexible Stratos Blue is a shadcn/ui theme built around a cyan primary color (#339ac7) with orange accents (#c75f33). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the cyan primary (#339ac7) on a neutral background (#020608).

Color palette

TokenLightDark
Background
#fbfdfewhite
#020608black
Foreground
#010304black
#ffffffwhite
Card
#fbfdfewhite
#020608black
Card foreground
#010304black
#ffffffwhite
Popover
#fbfdfewhite
#020608black
Popover foreground
#010304black
#ffffffwhite
Primary
#339ac7steelblue
#339ac7steelblue
Primary foreground
#000000black
#000000black
Secondary
#c75f33chocolate
#c75f33chocolate
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e0d6d1gainsboro
#2e231fdarkslategray
Muted foreground
#534a46darkslategray
#b9b0acdarkgray
Accent
#c75f33chocolate
#c75f33chocolate
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#d51a10firebrick
#f03c33crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e4e6e7gainsboro
#1a1d1eblack
Input
#e4e6e7gainsboro
#1a1d1eblack
Ring
#339ac7steelblue
#339ac7steelblue

Contrast

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

Light mode
Text on background20.25:1AAA
Text on card20.25:1AAA
Primary button6.61:1AA
Secondary button4.10:1AA Large
Muted text6.03:1AA
Accent4.10:1AA Large
Destructive5.25:1AA
Dark mode
Text on background20.32:1AAA
Text on card20.32:1AAA
Primary button6.61:1AA
Secondary button4.10:1AA Large
Muted text7.16:1AAA
Accent4.10:1AA Large
Destructive3.89:1AA Large

CSS variables

Paste this into your globals.css to use Flexible Stratos Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 225.009);
  --foreground: oklch(0.094 0.011 218.399);
  --muted: oklch(0.883 0.013 44.837);
  --muted-foreground: oklch(0.417 0.013 44.689);
  --popover: oklch(0.993 0.002 225.009);
  --popover-foreground: oklch(0.094 0.011 218.399);
  --card: oklch(0.993 0.002 225.009);
  --card-foreground: oklch(0.094 0.011 218.399);
  --border: oklch(0.924 0.003 225.014);
  --input: oklch(0.924 0.003 225.014);
  --primary: oklch(0.648 0.113 230.934);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.605 0.144 42.387);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.605 0.144 42.387);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.557 0.217 29.395);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.648 0.113 230.934);
  --chart-1: oklch(0.648 0.113 230.934);
  --chart-2: oklch(0.605 0.144 42.387);
  --chart-3: oklch(0.605 0.144 42.387);
  --chart-4: oklch(0.628 0.141 42.742);
  --chart-5: oklch(0.653 0.117 231.412);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.118 0.011 219.744);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.268 0.018 44.439);
  --muted-foreground: oklch(0.763 0.011 44.836);
  --popover: oklch(0.118 0.011 219.744);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.118 0.011 219.744);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.227 0.004 225.194);
  --input: oklch(0.227 0.004 225.194);
  --primary: oklch(0.648 0.113 230.934);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.605 0.144 42.387);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.605 0.144 42.387);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.629 0.217 28.233);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.648 0.113 230.934);
  --chart-1: oklch(0.648 0.113 230.934);
  --chart-2: oklch(0.605 0.144 42.387);
  --chart-3: oklch(0.605 0.144 42.387);
  --chart-4: oklch(0.628 0.141 42.742);
  --chart-5: oklch(0.653 0.117 231.412);
}