Try for shadcn/ui

Try is a shadcn/ui theme built around a blue primary color (#4199c8) with blue accents (#4155c8). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#4199c8) on a neutral background (#030607).

Color palette

TokenLightDark
Background
#ffffffwhite
#030607black
Foreground
#030c11black
#ffffffwhite
Card
#fcfcfcsnow
#05080ablack
Card foreground
#02090dblack
#ffffffwhite
Popover
#ffffffwhite
#030607black
Popover foreground
#030c11black
#ffffffwhite
Primary
#4199c8steelblue
#4199c8steelblue
Primary foreground
#000000black
#000000black
Secondary
#41c8b4mediumturquoise
#41c8b4mediumturquoise
Secondary foreground
#0e2f2adarkslategray
#0e2f2adarkslategray
Muted
#dfecealavender
#13201eblack
Muted foreground
#51615fdimgray
#9eaeabdarkgray
Accent
#4155c8royalblue
#4155c8royalblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#d11c00firebrick
#fa2100red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#4199c8steelblue
#4199c8steelblue

Contrast

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

Light mode
Text on background19.72:1AAA
Text on card19.61:1AAA
Primary button6.60:1AA
Secondary button6.94:1AA
Muted text5.38:1AA
Accent6.22:1AA
Destructive5.41:1AA
Dark mode
Text on background20.35:1AAA
Text on card20.04:1AAA
Primary button6.60:1AA
Secondary button6.94:1AA
Muted text7.23:1AAA
Accent6.22:1AA
Destructive3.97:1AA Large

CSS variables

Paste this into your globals.css to use Try in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.148 0.02 228.181);
  --muted: oklch(0.933 0.015 186.187);
  --muted-foreground: oklch(0.479 0.02 185.502);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.148 0.02 228.181);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.134 0.018 224.356);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.649 0.109 235.542);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.755 0.118 180.944);
  --secondary-foreground: oklch(0.281 0.04 181.856);
  --accent: oklch(0.503 0.179 270.96);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.549 0.214 31.063);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.649 0.109 235.542);
  --chart-1: oklch(0.649 0.109 235.542);
  --chart-2: oklch(0.755 0.118 180.944);
  --chart-3: oklch(0.503 0.179 270.96);
  --chart-4: oklch(0.768 0.114 181.498);
  --chart-5: oklch(0.652 0.114 235.95);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.116 0.007 226.75);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.232 0.02 184.252);
  --muted-foreground: oklch(0.737 0.018 185.956);
  --popover: oklch(0.116 0.007 226.75);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.133 0.008 226.75);
  --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.649 0.109 235.542);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.755 0.118 180.944);
  --secondary-foreground: oklch(0.281 0.04 181.856);
  --accent: oklch(0.503 0.179 270.96);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.627 0.245 30.87);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.649 0.109 235.542);
  --chart-1: oklch(0.649 0.109 235.542);
  --chart-2: oklch(0.755 0.118 180.944);
  --chart-3: oklch(0.503 0.179 270.96);
  --chart-4: oklch(0.768 0.114 181.498);
  --chart-5: oklch(0.652 0.114 235.95);
}