Memorable is a shadcn/ui theme built around a deep blue primary color (#0b141e) with deep indigo accents (#0b0b1e). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the deep blue primary (#0b141e) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #020303black |
| Foreground | #050a10black | #fcfcfdwhite |
| Card | #f7fafdghostwhite | #030507black |
| Card foreground | #04080cblack | #ffffffwhite |
| Popover | #f7fafdghostwhite | #030507black |
| Popover foreground | #04080cblack | #ffffffwhite |
| Primary | #0b141eblack | #0b141eblack |
| Primary foreground | #86add5skyblue | #86add5skyblue |
| Secondary | #0b1e1eblack | #0b1e1eblack |
| Secondary foreground | #40b5b5lightseagreen | #40b5b5lightseagreen |
| Muted | #e3ededlavender | #121c1cblack |
| Muted foreground | #515c5cdimgray | #a3aeaedarkgray |
| Accent | #0b0b1eblack | #0b0b1eblack |
| Accent foreground | #d2d2efgainsboro | #d2d2efgainsboro |
| Destructive | #9c330dsaddlebrown | #ed5b26chocolate |
| Destructive foreground | #fce6demistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0b141eblack | #0b141eblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.40:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 6.96:1 | AA |
| Muted text | 5.79:1 | AA |
| Accent | 13.16:1 | AAA |
| Destructive | 6.07:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 20.40:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 6.96:1 | AA |
| Muted text | 7.64:1 | AAA |
| Accent | 13.16:1 | AAA |
| Destructive | 6.14:1 | AA |
Paste this into your globals.css to use Memorable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 247.847);
--foreground: oklch(0.142 0.016 244.251);
--muted: oklch(0.938 0.01 196.981);
--muted-foreground: oklch(0.465 0.013 196.714);
--popover: oklch(0.983 0.005 247.873);
--popover-foreground: oklch(0.129 0.013 240.914);
--card: oklch(0.983 0.005 247.873);
--card-foreground: oklch(0.129 0.013 240.914);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.189 0.025 249.257);
--primary-foreground: oklch(0.735 0.071 248.823);
--secondary: oklch(0.22 0.025 195.455);
--secondary-foreground: oklch(0.709 0.103 195.085);
--accent: oklch(0.161 0.041 280.822);
--accent-foreground: oklch(0.872 0.04 285.534);
--destructive: oklch(0.471 0.147 37.687);
--destructive-foreground: oklch(0.941 0.027 41.11);
--ring: oklch(0.189 0.025 249.257);
--chart-1: oklch(0.189 0.025 249.257);
--chart-2: oklch(0.22 0.025 195.455);
--chart-3: oklch(0.161 0.041 280.822);
--chart-4: oklch(0.262 0.033 195.343);
--chart-5: oklch(0.189 0.026 249.377);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.09 0.006 242.741);
--foreground: oklch(0.992 0.001 247.831);
--muted: oklch(0.216 0.014 196.166);
--muted-foreground: oklch(0.741 0.012 196.904);
--popover: oklch(0.113 0.008 242.741);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.113 0.008 242.741);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.189 0.025 249.257);
--primary-foreground: oklch(0.735 0.071 248.823);
--secondary: oklch(0.22 0.025 195.455);
--secondary-foreground: oklch(0.709 0.103 195.085);
--accent: oklch(0.161 0.041 280.822);
--accent-foreground: oklch(0.872 0.04 285.534);
--destructive: oklch(0.656 0.191 38.59);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.189 0.025 249.257);
--chart-1: oklch(0.189 0.025 249.257);
--chart-2: oklch(0.22 0.025 195.455);
--chart-3: oklch(0.161 0.041 280.822);
--chart-4: oklch(0.262 0.033 195.343);
--chart-5: oklch(0.189 0.026 249.377);
}