Outrageous Sky of Magritte for shadcn/ui

Outrageous Sky of Magritte is a shadcn/ui theme built around a vivid blue primary color (#0099ff) with muted light blue accents (#dce1e4). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid blue primary (#0099ff) on a blue-tinted background (#070b0d).

Color palette

TokenLightDark
Background
#fbfdfewhite
#070b0dblack
Foreground
#02090eblack
#fcfdfdwhite
Card
#f7fafcghostwhite
#090e11black
Card foreground
#010609black
#ffffffwhite
Popover
#fbfdfewhite
#070b0dblack
Popover foreground
#02090eblack
#fcfdfdwhite
Primary
#0099ffdodgerblue
#0099ffdodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dce1e4gainsboro
#29353ddarkslategray
Secondary foreground
#3e4951darkslategray
#c2ced6lightgrey
Muted
#ecf0f3whitesmoke
#0c1013black
Muted foreground
#434546darkslategray
#b9babcsilver
Accent
#dce1e4gainsboro
#29353ddarkslategray
Accent foreground
#3e4951darkslategray
#c2ced6lightgrey
Destructive
#b83814firebrick
#e75127chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eef0f2whitesmoke
#21272bdarkslategray
Input
#eef0f2whitesmoke
#21272bdarkslategray
Ring
#0099ffdodgerblue
#0099ffdodgerblue

Contrast

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

Light mode
Text on background19.60:1AAA
Text on card19.49:1AAA
Primary button2.99:1Fail
Secondary button7.01:1AAA
Muted text8.43:1AAA
Accent7.01:1AAA
Destructive5.83:1AA
Dark mode
Text on background19.40:1AAA
Text on card19.45:1AAA
Primary button2.99:1Fail
Secondary button7.83:1AAA
Muted text9.84:1AAA
Accent7.83:1AAA
Destructive3.74:1AA Large

CSS variables

Paste this into your globals.css to use Outrageous Sky of Magritte in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 236.465);
  --foreground: oklch(0.131 0.02 228.633);
  --muted: oklch(0.954 0.006 236.52);
  --muted-foreground: oklch(0.39 0.003 236.542);
  --popover: oklch(0.992 0.002 236.465);
  --popover-foreground: oklch(0.131 0.02 228.633);
  --card: oklch(0.985 0.004 236.496);
  --card-foreground: oklch(0.115 0.017 226.851);
  --border: oklch(0.954 0.003 236.485);
  --input: oklch(0.954 0.003 236.485);
  --primary: oklch(0.669 0.184 248.807);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.908 0.007 236.542);
  --secondary-foreground: oklch(0.399 0.019 237.177);
  --accent: oklch(0.908 0.007 236.542);
  --accent-foreground: oklch(0.399 0.019 237.177);
  --destructive: oklch(0.526 0.17 35.237);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.669 0.184 248.807);
  --chart-1: oklch(0.669 0.184 248.807);
  --chart-2: oklch(0.908 0.007 236.542);
  --chart-3: oklch(0.908 0.007 236.542);
  --chart-4: oklch(0.931 0.005 236.513);
  --chart-5: oklch(0.673 0.188 249.243);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.145 0.009 235.273);
  --foreground: oklch(0.992 0.001 236.452);
  --muted: oklch(0.17 0.009 237.223);
  --muted-foreground: oklch(0.789 0.002 236.479);
  --popover: oklch(0.145 0.009 235.273);
  --popover-foreground: oklch(0.992 0.001 236.452);
  --card: oklch(0.158 0.01 237.234);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.27 0.011 237.077);
  --input: oklch(0.27 0.011 237.077);
  --primary: oklch(0.669 0.184 248.807);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.321 0.021 237.491);
  --secondary-foreground: oklch(0.845 0.017 236.724);
  --accent: oklch(0.321 0.021 237.491);
  --accent-foreground: oklch(0.845 0.017 236.724);
  --destructive: oklch(0.634 0.194 35.713);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.669 0.184 248.807);
  --chart-1: oklch(0.669 0.184 248.807);
  --chart-2: oklch(0.321 0.021 237.491);
  --chart-3: oklch(0.321 0.021 237.491);
  --chart-4: oklch(0.351 0.023 237.526);
  --chart-5: oklch(0.673 0.188 249.243);
}