That is a shadcn/ui theme built around a light blue primary color (#cacff2) with light violet accents (#d9caf2). The light mode uses a neutral background (#f7f7fd). Dark mode keeps the light blue primary (#cacff2) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f7fdghostwhite | #000000black |
| Foreground | #02030eblack | #f8f9fbghostwhite |
| Card | #f2f4fcaliceblue | #030303black |
| Card foreground | #010209black | #fcfcfdwhite |
| Popover | #f2f4fcaliceblue | #030303black |
| Popover foreground | #010209black | #fcfcfdwhite |
| Primary | #cacff2gainsboro | #cacff2gainsboro |
| Primary foreground | #1c276emidnightblue | #1c276emidnightblue |
| Secondary | #cae3f2powderblue | #cae3f2powderblue |
| Secondary foreground | #1c506edarkslategray | #1c506edarkslategray |
| Muted | #e2e7e9lavender | #161b1dblack |
| Muted foreground | #424242darkslategray | #bdbdbdsilver |
| Accent | #d9caf2thistle | #d9caf2thistle |
| Accent foreground | #3a1c6emidnightblue | #3a1c6emidnightblue |
| Destructive | #933c10saddlebrown | #eb7e47coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cacff2gainsboro | #cacff2gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.29:1 | AAA |
| Text on card | 18.84:1 | AAA |
| Primary button | 8.78:1 | AAA |
| Secondary button | 6.52:1 | AA |
| Muted text | 8.03:1 | AAA |
| Accent | 8.69:1 | AAA |
| Destructive | 7.26:1 | AAA |
| Text on background | 19.93:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 8.78:1 | AAA |
| Secondary button | 6.52:1 | AA |
| Muted text | 9.28:1 | AAA |
| Accent | 8.69:1 | AAA |
| Destructive | 7.58:1 | AAA |
Paste this into your globals.css to use That in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.008 279.222);
--foreground: oklch(0.105 0.03 268.383);
--muted: oklch(0.924 0.006 232.678);
--muted-foreground: oklch(0.38 0 180);
--popover: oklch(0.968 0.012 279.159);
--popover-foreground: oklch(0.091 0.026 268.23);
--card: oklch(0.968 0.012 279.159);
--card-foreground: oklch(0.091 0.026 268.23);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.862 0.048 278.438);
--primary-foreground: oklch(0.312 0.124 270.631);
--secondary: oklch(0.902 0.033 233.145);
--secondary-foreground: oklch(0.411 0.074 238.039);
--accent: oklch(0.863 0.056 301.928);
--accent-foreground: oklch(0.32 0.134 294.338);
--destructive: oklch(0.468 0.129 42.905);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.862 0.048 278.438);
--chart-1: oklch(0.862 0.048 278.438);
--chart-2: oklch(0.902 0.033 233.145);
--chart-3: oklch(0.863 0.056 301.928);
--chart-4: oklch(0.925 0.026 232.992);
--chart-5: oklch(0.86 0.051 278.386);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0.004 279.287);
--muted: oklch(0.216 0.009 233.238);
--muted-foreground: oklch(0.797 0 180);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.991 0.002 279.314);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.002 279.314);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.862 0.048 278.438);
--primary-foreground: oklch(0.312 0.124 270.631);
--secondary: oklch(0.902 0.033 233.145);
--secondary-foreground: oklch(0.411 0.074 238.039);
--accent: oklch(0.863 0.056 301.928);
--accent-foreground: oklch(0.32 0.134 294.338);
--destructive: oklch(0.705 0.151 45.691);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.862 0.048 278.438);
--chart-1: oklch(0.862 0.048 278.438);
--chart-2: oklch(0.902 0.033 233.145);
--chart-3: oklch(0.863 0.056 301.928);
--chart-4: oklch(0.925 0.026 232.992);
--chart-5: oklch(0.86 0.051 278.386);
}