Lavender Blue Gecko is a shadcn/ui theme built around a vivid light indigo primary color (#cdcdfe) with muted indigo accents (#b0b0bf). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light indigo primary (#cdcdfe) on a neutral background (#020208).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020208black |
| Foreground | #02020eblack | #f9f9fbghostwhite |
| Card | #fcfcfcsnow | #04040cblack |
| Card foreground | #010109black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #04040cblack |
| Popover foreground | #010109black | #fcfcfdwhite |
| Primary | #cdcdfelavender | #cdcdfelavender |
| Primary foreground | #020297darkblue | #020297darkblue |
| Secondary | #cdcdd0lightgrey | #242433darkslategray |
| Secondary foreground | #333338darkslategray | #babacesilver |
| Muted | #cbcbe7lightgrey | #181834midnightblue |
| Muted foreground | #4b4b53darkslategray | #acacb4darkgray |
| Accent | #b0b0bfsilver | #2d2d49darkslategray |
| Accent foreground | #1b1b22black | #c9c9delightgrey |
| Destructive | #6c1604maroon | #f65231tomato |
| Destructive foreground | #fbb5a7lightpink | #000000black |
| Border | #e2e2e9gainsboro | #16161dblack |
| Input | #e2e2e9gainsboro | #16161dblack |
| Ring | #cdcdfelavender | #cdcdfelavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 9.41:1 | AAA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 5.44:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 7.01:1 | AAA |
| Text on background | 19.63:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 9.41:1 | AAA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 7.60:1 | AAA |
| Accent | 8.19:1 | AAA |
| Destructive | 6.19:1 | AA |
Paste this into your globals.css to use Lavender Blue Gecko in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.095 0.037 276.773);
--muted: oklch(0.851 0.038 285.563);
--muted-foreground: oklch(0.416 0.013 285.82);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.083 0.032 276.936);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.083 0.032 276.936);
--border: oklch(0.915 0.009 286.222);
--input: oklch(0.915 0.009 286.222);
--primary: oklch(0.864 0.068 284.881);
--primary-foreground: oklch(0.308 0.21 264.574);
--secondary: oklch(0.848 0.005 286.286);
--secondary-foreground: oklch(0.324 0.008 285.974);
--accent: oklch(0.761 0.022 285.859);
--accent-foreground: oklch(0.226 0.013 285.316);
--destructive: oklch(0.349 0.122 33.059);
--destructive-foreground: oklch(0.835 0.085 31.591);
--ring: oklch(0.864 0.068 284.881);
--chart-1: oklch(0.864 0.068 284.881);
--chart-2: oklch(0.848 0.005 286.286);
--chart-3: oklch(0.761 0.022 285.859);
--chart-4: oklch(0.873 0.004 286.307);
--chart-5: oklch(0.862 0.07 284.827);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.02 281.957);
--foreground: oklch(0.983 0.002 286.367);
--muted: oklch(0.227 0.053 281.386);
--muted-foreground: oklch(0.747 0.011 286.125);
--popover: oklch(0.11 0.023 281.924);
--popover-foreground: oklch(0.992 0.001 286.384);
--card: oklch(0.11 0.023 281.924);
--card-foreground: oklch(0.992 0.001 286.384);
--border: oklch(0.204 0.013 285.179);
--input: oklch(0.204 0.013 285.179);
--primary: oklch(0.864 0.068 284.881);
--primary-foreground: oklch(0.308 0.21 264.574);
--secondary: oklch(0.267 0.027 284.399);
--secondary-foreground: oklch(0.796 0.028 285.748);
--accent: oklch(0.309 0.05 283.071);
--accent-foreground: oklch(0.843 0.029 285.767);
--destructive: oklch(0.661 0.206 33.195);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.864 0.068 284.881);
--chart-1: oklch(0.864 0.068 284.881);
--chart-2: oklch(0.267 0.027 284.399);
--chart-3: oklch(0.309 0.05 283.071);
--chart-4: oklch(0.294 0.031 284.308);
--chart-5: oklch(0.862 0.07 284.827);
}