Insomniac Blue Lizard for shadcn/ui

Insomniac Blue Lizard is a shadcn/ui theme built around a vivid deep indigo primary color (#0e007a) with vivid deep violet accents (#4b007a). The light mode uses a neutral background (#f8f7fd). Dark mode keeps the vivid deep indigo primary (#0e007a) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8f7fdghostwhite
#000000black
Foreground
#020209black
#ffffffwhite
Card
#f4f3fcghostwhite
#030303black
Card foreground
#010104black
#ffffffwhite
Popover
#f8f7fdghostwhite
#000000black
Popover foreground
#020209black
#ffffffwhite
Primary
#0e007anavy
#0e007anavy
Primary foreground
#b7adfflightsteelblue
#b7adfflightsteelblue
Secondary
#002f7amidnightblue
#002f7amidnightblue
Secondary foreground
#adcdfflightblue
#adcdfflightblue
Muted
#e3e9f2lavender
#0d131cblack
Muted foreground
#525966dimgray
#99a1addarkgray
Accent
#4b007aindigo
#4b007aindigo
Accent foreground
#e0adffplum
#e0adffplum
Destructive
#7f0705maroon
#f5130fred
Destructive foreground
#fcbcbalightpink
#ffffffwhite
Border
#e5e4e7gainsboro
#1b1b1dblack
Input
#e5e4e7gainsboro
#1b1b1dblack
Ring
#0e007anavy
#0e007anavy

Contrast

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

Light mode
Text on background19.41:1AAA
Text on card18.93:1AAA
Primary button8.01:1AAA
Secondary button7.67:1AAA
Muted text5.77:1AA
Accent7.30:1AAA
Destructive6.71:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button8.01:1AAA
Secondary button7.67:1AAA
Muted text7.15:1AAA
Accent7.30:1AAA
Destructive4.21:1AA Large

CSS variables

Paste this into your globals.css to use Insomniac Blue Lizard in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.978 0.008 291.633);
  --foreground: oklch(0.091 0.027 288.388);
  --muted: oklch(0.932 0.013 259.945);
  --muted-foreground: oklch(0.463 0.023 259.92);
  --popover: oklch(0.978 0.008 291.633);
  --popover-foreground: oklch(0.091 0.027 288.388);
  --card: oklch(0.968 0.011 291.557);
  --card-foreground: oklch(0.072 0.021 288.388);
  --border: oklch(0.921 0.003 291.723);
  --input: oklch(0.921 0.003 291.723);
  --primary: oklch(0.268 0.178 268.759);
  --primary-foreground: oklch(0.787 0.115 288.814);
  --secondary: oklch(0.332 0.137 260.233);
  --secondary-foreground: oklch(0.842 0.079 259.815);
  --accent: oklch(0.332 0.173 304.798);
  --accent-foreground: oklch(0.823 0.123 311.945);
  --destructive: oklch(0.379 0.15 28.933);
  --destructive-foreground: oklch(0.853 0.075 19.854);
  --ring: oklch(0.268 0.178 268.759);
  --chart-1: oklch(0.268 0.178 268.759);
  --chart-2: oklch(0.332 0.137 260.233);
  --chart-3: oklch(0.332 0.173 304.798);
  --chart-4: oklch(0.359 0.151 260.482);
  --chart-5: oklch(0.269 0.181 268.129);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.184 0.02 259.769);
  --muted-foreground: oklch(0.706 0.02 259.943);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.223 0.004 291.412);
  --input: oklch(0.223 0.004 291.412);
  --primary: oklch(0.268 0.178 268.759);
  --primary-foreground: oklch(0.787 0.115 288.814);
  --secondary: oklch(0.332 0.137 260.233);
  --secondary-foreground: oklch(0.842 0.079 259.815);
  --accent: oklch(0.332 0.173 304.798);
  --accent-foreground: oklch(0.823 0.123 311.945);
  --destructive: oklch(0.614 0.246 28.997);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.268 0.178 268.759);
  --chart-1: oklch(0.268 0.178 268.759);
  --chart-2: oklch(0.332 0.137 260.233);
  --chart-3: oklch(0.332 0.173 304.798);
  --chart-4: oklch(0.359 0.151 260.482);
  --chart-5: oklch(0.269 0.181 268.129);
}