Blue Hijab Earwig for shadcn/ui

Blue Hijab Earwig is a shadcn/ui theme built around a light cyan primary color (#d2eef9) with light blue accents (#d2dbf9). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the light cyan primary (#d2eef9) on a neutral background (#030607).

Color palette

TokenLightDark
Background
#fbfdfewhite
#030607black
Foreground
#010304black
#fcfdfdwhite
Card
#f7fbfdghostwhite
#05090ablack
Card foreground
#000000black
#ffffffwhite
Popover
#f7fbfdghostwhite
#05090ablack
Popover foreground
#000000black
#ffffffwhite
Primary
#d2eef9lavender
#d2eef9lavender
Primary foreground
#06222dblack
#06222dblack
Secondary
#d2f9f0lightcyan
#d2f9f0lightcyan
Secondary foreground
#062d24black
#062d24black
Muted
#d1e5e1gainsboro
#1a2e29darkslategray
Muted foreground
#4c5755darkslategray
#a8b3b1darkgray
Accent
#d2dbf9lavender
#d2dbf9lavender
Accent foreground
#132c86midnightblue
#132c86midnightblue
Destructive
#ad1501firebrick
#fe2306orangered
Destructive foreground
#ffe4e1mistyrose
#ffffffwhite
Border
#e1e4e5gainsboro
#212526darkslategray
Input
#e1e4e5gainsboro
#212526darkslategray
Ring
#d2eef9lavender
#d2eef9lavender

Contrast

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

Light mode
Text on background20.26:1AAA
Text on card20.19:1AAA
Primary button13.58:1AAA
Secondary button13.14:1AAA
Muted text5.72:1AA
Accent8.78:1AAA
Destructive6.06:1AA
Dark mode
Text on background19.95:1AAA
Text on card20.01:1AAA
Primary button13.58:1AAA
Secondary button13.14:1AAA
Muted text6.66:1AA
Accent8.78:1AAA
Destructive3.85:1AA Large

CSS variables

Paste this into your globals.css to use Blue Hijab Earwig in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 223.157);
  --foreground: oklch(0.094 0.009 217.885);
  --muted: oklch(0.907 0.022 181.38);
  --muted-foreground: oklch(0.447 0.015 181.114);
  --popover: oklch(0.986 0.005 223.185);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.986 0.005 223.185);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.916 0.003 223.167);
  --input: oklch(0.916 0.003 223.167);
  --primary: oklch(0.932 0.032 223.541);
  --primary-foreground: oklch(0.236 0.039 227.863);
  --secondary: oklch(0.952 0.041 180.821);
  --secondary-foreground: oklch(0.267 0.045 175.057);
  --accent: oklch(0.893 0.042 273.277);
  --accent-foreground: oklch(0.342 0.153 265.987);
  --destructive: oklch(0.476 0.185 30.933);
  --destructive-foreground: oklch(0.94 0.03 26.682);
  --ring: oklch(0.932 0.032 223.541);
  --chart-1: oklch(0.932 0.032 223.541);
  --chart-2: oklch(0.952 0.041 180.821);
  --chart-3: oklch(0.893 0.042 273.277);
  --chart-4: oklch(0.966 0.029 181.215);
  --chart-5: oklch(0.932 0.034 223.56);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.117 0.007 219.691);
  --foreground: oklch(0.993 0.002 223.146);
  --muted: oklch(0.281 0.027 178.975);
  --muted-foreground: oklch(0.757 0.013 181.576);
  --popover: oklch(0.134 0.008 219.691);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.134 0.008 219.691);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.26 0.006 223.377);
  --input: oklch(0.26 0.006 223.377);
  --primary: oklch(0.932 0.032 223.541);
  --primary-foreground: oklch(0.236 0.039 227.863);
  --secondary: oklch(0.952 0.041 180.821);
  --secondary-foreground: oklch(0.267 0.045 175.057);
  --accent: oklch(0.893 0.042 273.277);
  --accent-foreground: oklch(0.342 0.153 265.987);
  --destructive: oklch(0.635 0.247 30.619);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.932 0.032 223.541);
  --chart-1: oklch(0.932 0.032 223.541);
  --chart-2: oklch(0.952 0.041 180.821);
  --chart-3: oklch(0.893 0.042 273.277);
  --chart-4: oklch(0.966 0.029 181.215);
  --chart-5: oklch(0.932 0.034 223.56);
}