Overall Amnesia Blue is a shadcn/ui theme built around a vivid blue primary color (#0a61c9) with vivid light blue accents (#9dc8f3). The light mode uses a neutral background (#f5f9fc). Dark mode switches to a blue primary (#264e82) on a blue-tinted background (#0c151a).
| Token | Light | Dark |
|---|---|---|
| Background | #f5f9fcghostwhite | #0c151ablack |
| Foreground | #0a61c9royalblue | #b8c8d9lightsteelblue |
| Card | #f5f9fcghostwhite | #0c151ablack |
| Card foreground | #0a61c9royalblue | #b8c8d9lightsteelblue |
| Popover | #f5f9fcghostwhite | #0c151ablack |
| Popover foreground | #09020eblack | #b8c8d9lightsteelblue |
| Primary | #0a61c9royalblue | #264e82darkslateblue |
| Primary foreground | #f5f9fcghostwhite | #cedff2gainsboro |
| Secondary | #fcaf6flightsalmon | #c38450peru |
| Secondary foreground | #1c1a23black | #11161ablack |
| Muted | #edefefwhitesmoke | #1a2b2bdarkslategray |
| Muted foreground | #2c2c31darkslategray | #b8c8d9lightsteelblue |
| Accent | #9dc8f3lightskyblue | #1a2b2bdarkslategray |
| Accent foreground | #1c1a23black | #b8c8d9lightsteelblue |
| Destructive | #d12e05firebrick | #8f1f03darkred |
| Destructive foreground | #f5f9fcghostwhite | #e2e2e2gainsboro |
| Border | #d1d6d6lightgrey | #3f4f4fdarkslategray |
| Input | #d1d6d6lightgrey | #3f4f4fdarkslategray |
| Ring | #0a61c9royalblue | #3b7ccfroyalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 5.56:1 | AA |
| Text on card | 5.56:1 | AA |
| Primary button | 5.56:1 | AA |
| Secondary button | 9.41:1 | AAA |
| Muted text | 12.03:1 | AAA |
| Accent | 9.81:1 | AAA |
| Destructive | 4.83:1 | AA |
| Text on background | 10.81:1 | AAA |
| Text on card | 10.83:1 | AAA |
| Primary button | 6.19:1 | AA |
| Secondary button | 5.83:1 | AA |
| Muted text | 8.63:1 | AAA |
| Accent | 8.63:1 | AAA |
| Destructive | 6.85:1 | AA |
Paste this into your globals.css to use Overall Amnesia Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.006 239.81);
--foreground: oklch(0.51 0.178 257.44);
--muted: oklch(0.951 0.002 197.122);
--muted-foreground: oklch(0.295 0.01 292.683);
--popover: oklch(0.98 0.006 239.81);
--popover-foreground: oklch(0.114 0.038 316.292);
--card: oklch(0.98 0.006 239.81);
--card-foreground: oklch(0.51 0.178 257.44);
--border: oklch(0.873 0.006 197.053);
--input: oklch(0.872 0.005 197.057);
--primary: oklch(0.51 0.178 257.44);
--primary-foreground: oklch(0.98 0.006 239.81);
--secondary: oklch(0.815 0.121 59.647);
--secondary-foreground: oklch(0.225 0.017 291.883);
--accent: oklch(0.817 0.076 248.78);
--accent-foreground: oklch(0.224 0.018 295.134);
--destructive: oklch(0.561 0.203 33.193);
--destructive-foreground: oklch(0.98 0.006 239.81);
--ring: oklch(0.51 0.178 257.44);
--chart-1: oklch(0.686 0.108 246.611);
--chart-2: oklch(0.721 0.119 178.005);
--chart-3: oklch(0.716 0.187 49.846);
--chart-4: oklch(0.625 0.119 57.004);
--chart-5: oklch(0.483 0.057 245.622);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.189 0.017 233.142);
--foreground: oklch(0.826 0.03 249.81);
--muted: oklch(0.274 0.023 195.915);
--muted-foreground: oklch(0.826 0.03 249.81);
--popover: oklch(0.189 0.017 233.142);
--popover-foreground: oklch(0.826 0.03 249.81);
--card: oklch(0.188 0.016 233.395);
--card-foreground: oklch(0.826 0.03 249.81);
--border: oklch(0.414 0.02 196.4);
--input: oklch(0.414 0.02 196.4);
--primary: oklch(0.422 0.098 255.919);
--primary-foreground: oklch(0.897 0.032 251.143);
--secondary: oklch(0.666 0.103 58.853);
--secondary-foreground: oklch(0.197 0.011 242.358);
--accent: oklch(0.274 0.023 195.915);
--accent-foreground: oklch(0.826 0.03 249.81);
--destructive: oklch(0.426 0.151 33.784);
--destructive-foreground: oklch(0.911 0 161.565);
--ring: oklch(0.585 0.144 255.78);
--chart-1: oklch(0.585 0.144 255.78);
--chart-2: oklch(0.735 0.121 177.785);
--chart-3: oklch(0.683 0.179 49.657);
--chart-4: oklch(0.587 0.111 57.857);
--chart-5: oklch(0.442 0.051 246.122);
}