Helpless Underwater Falling1 for shadcn/ui

Helpless Underwater Falling1 is a shadcn/ui theme built around an indigo primary color (#1a1fb3) with muted indigo accents (#b8b8c7). The light mode uses a neutral background (#ffffff). Dark mode keeps the indigo primary (#1a1fb3) on an indigo-tinted background (#07070d).

Color palette

TokenLightDark
Background
#ffffffwhite
#07070dblack
Foreground
#020308black
#ffffffwhite
Card
#ffffffwhite
#07070dblack
Card foreground
#020308black
#ffffffwhite
Popover
#ffffffwhite
#07070dblack
Popover foreground
#020308black
#ffffffwhite
Primary
#1a1fb3mediumblue
#1a1fb3mediumblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#cacbcelightgrey
#22232fdarkslategray
Secondary foreground
#313235darkslategray
#b8b9ccsilver
Muted
#dedeedgainsboro
#121221black
Muted foreground
#4b4b53darkslategray
#acacb4darkgray
Accent
#b8b8c7silver
#2c2d49darkslategray
Accent foreground
#22222bdarkslategray
#c9cadelightgrey
Destructive
#ff0000red
#d20000red
Destructive foreground
#ffffffwhite
#000000black
Border
#f1f1f4whitesmoke
#19191fblack
Input
#f1f1f4whitesmoke
#19191fblack
Ring
#1a1fb3mediumblue
#1a1fb3mediumblue

Contrast

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

Light mode
Text on background20.60:1AAA
Text on card20.60:1AAA
Primary button11.16:1AAA
Secondary button7.88:1AAA
Muted text6.49:1AA
Accent8.04:1AAA
Destructive3.99:1AA Large
Dark mode
Text on background20.06:1AAA
Text on card20.06:1AAA
Primary button11.16:1AAA
Secondary button8.05:1AAA
Muted text8.20:1AAA
Accent8.22:1AAA
Destructive3.73:1AA Large

CSS variables

Paste this into your globals.css to use Helpless Underwater Falling1 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.098 0.018 280.285);
  --muted: oklch(0.905 0.021 284.397);
  --muted-foreground: oklch(0.417 0.013 284.262);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.098 0.018 280.285);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.098 0.018 280.285);
  --border: oklch(0.959 0.004 284.741);
  --input: oklch(0.959 0.004 284.741);
  --primary: oklch(0.375 0.22 268.149);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.842 0.004 284.722);
  --secondary-foreground: oklch(0.316 0.005 284.514);
  --accent: oklch(0.787 0.021 284.333);
  --accent-foreground: oklch(0.255 0.017 283.596);
  --destructive: oklch(0.628 0.258 29.234);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.375 0.22 268.149);
  --chart-1: oklch(0.375 0.22 268.149);
  --chart-2: oklch(0.842 0.004 284.722);
  --chart-3: oklch(0.787 0.021 284.333);
  --chart-4: oklch(0.866 0.003 284.738);
  --chart-5: oklch(0.375 0.226 267.462);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.014 282.51);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.191 0.031 281.541);
  --muted-foreground: oklch(0.747 0.011 284.549);
  --popover: oklch(0.133 0.014 282.51);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.133 0.014 282.51);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.217 0.012 283.818);
  --input: oklch(0.217 0.012 283.818);
  --primary: oklch(0.375 0.22 268.149);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.26 0.024 283.084);
  --secondary-foreground: oklch(0.79 0.027 284.198);
  --accent: oklch(0.31 0.051 281.504);
  --accent-foreground: oklch(0.843 0.029 284.185);
  --destructive: oklch(0.542 0.222 29.234);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.375 0.22 268.149);
  --chart-1: oklch(0.375 0.22 268.149);
  --chart-2: oklch(0.26 0.024 283.084);
  --chart-3: oklch(0.31 0.051 281.504);
  --chart-4: oklch(0.288 0.027 282.998);
  --chart-5: oklch(0.375 0.226 267.462);
}