Forest Blues Bedbug for shadcn/ui

Forest Blues Bedbug is a shadcn/ui theme built around a deep blue primary color (#0f4461) with deep blue accents (#0f1b61). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the deep blue primary (#0f4461) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#000000black
Foreground
#030c11black
#ffffffwhite
Card
#f4f8fawhitesmoke
#030303black
Card foreground
#02090dblack
#ffffffwhite
Popover
#f4f8fawhitesmoke
#030303black
Popover foreground
#02090dblack
#ffffffwhite
Primary
#0f4461darkslategray
#0f4461darkslategray
Primary foreground
#b0dbf3lightblue
#b0dbf3lightblue
Secondary
#0f6155darkslategray
#0f6155darkslategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#daddddgainsboro
#222525darkslategray
Muted foreground
#435653darkslategray
#a9bcb9silver
Accent
#0f1b61midnightblue
#0f1b61midnightblue
Accent foreground
#b0baf3lightsteelblue
#b0baf3lightsteelblue
Destructive
#c43012firebrick
#e03715orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e2e6e9gainsboro
#161a1dblack
Input
#e2e6e9gainsboro
#161a1dblack
Ring
#0f4461darkslategray
#0f4461darkslategray

Contrast

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

Light mode
Text on background18.90:1AAA
Text on card18.81:1AAA
Primary button7.03:1AAA
Secondary button7.33:1AAA
Muted text5.69:1AA
Accent8.24:1AAA
Destructive5.56:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.03:1AAA
Secondary button7.33:1AAA
Muted text7.75:1AAA
Accent8.24:1AAA
Destructive4.44:1AA Large

CSS variables

Paste this into your globals.css to use Forest Blues Bedbug in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.003 230.708);
  --foreground: oklch(0.148 0.02 228.22);
  --muted: oklch(0.895 0.004 186.483);
  --muted-foreground: oklch(0.437 0.025 185.075);
  --popover: oklch(0.978 0.005 230.733);
  --popover-foreground: oklch(0.134 0.017 224.401);
  --card: oklch(0.978 0.005 230.733);
  --card-foreground: oklch(0.134 0.017 224.401);
  --border: oklch(0.924 0.006 230.743);
  --input: oklch(0.924 0.006 230.743);
  --primary: oklch(0.369 0.073 237.694);
  --primary-foreground: oklch(0.869 0.056 231.738);
  --secondary: oklch(0.444 0.076 179.601);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.27 0.123 268.355);
  --accent-foreground: oklch(0.8 0.082 276.626);
  --destructive: oklch(0.54 0.189 32.766);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.369 0.073 237.694);
  --chart-1: oklch(0.369 0.073 237.694);
  --chart-2: oklch(0.444 0.076 179.601);
  --chart-3: oklch(0.27 0.123 268.355);
  --chart-4: oklch(0.485 0.084 179.45);
  --chart-5: oklch(0.371 0.075 238.139);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.263 0.005 186.08);
  --muted-foreground: oklch(0.781 0.022 185.859);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.216 0.008 231.212);
  --input: oklch(0.216 0.008 231.212);
  --primary: oklch(0.369 0.073 237.694);
  --primary-foreground: oklch(0.869 0.056 231.738);
  --secondary: oklch(0.444 0.076 179.601);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.27 0.123 268.355);
  --accent-foreground: oklch(0.8 0.082 276.626);
  --destructive: oklch(0.595 0.21 32.704);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.369 0.073 237.694);
  --chart-1: oklch(0.369 0.073 237.694);
  --chart-2: oklch(0.444 0.076 179.601);
  --chart-3: oklch(0.27 0.123 268.355);
  --chart-4: oklch(0.485 0.084 179.45);
  --chart-5: oklch(0.371 0.075 238.139);
}