Amnesia Blue Swordtail is a shadcn/ui theme built around a vivid blue primary color (#1462c2) with muted light blue accents (#d8dbdf). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the vivid blue primary (#1462c2) on a blue-tinted background (#05070a).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #05070ablack |
| Foreground | #03070cblack | #f9fafbghostwhite |
| Card | #fbfcfewhite | #05070ablack |
| Card foreground | #03070cblack | #f9fafbghostwhite |
| Popover | #fbfcfewhite | #05070ablack |
| Popover foreground | #03070cblack | #f9fafbghostwhite |
| Primary | #1462c2royalblue | #1462c2royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d8dbdfgainsboro | #293038darkslategray |
| Secondary foreground | #3c4249darkslategray | #c1c9d1silver |
| Muted | #edeff3whitesmoke | #0c0f12black |
| Muted foreground | #42474ddarkslategray | #b2b7bdsilver |
| Accent | #d8dbdfgainsboro | #293038darkslategray |
| Accent foreground | #3c4249darkslategray | #c1c9d1silver |
| Destructive | #a61c07firebrick | #f53214orangered |
| Destructive foreground | #fee5e2mistyrose | #ffffffwhite |
| Border | #e1e3e5gainsboro | #242629darkslategray |
| Input | #e1e3e5gainsboro | #242629darkslategray |
| Ring | #1462c2royalblue | #1462c2royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 5.88:1 | AA |
| Secondary button | 7.30:1 | AAA |
| Muted text | 8.15:1 | AAA |
| Accent | 7.30:1 | AAA |
| Destructive | 6.25:1 | AA |
| Text on background | 19.26:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 5.88:1 | AA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 9.51:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Amnesia Blue Swordtail in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 253.232);
--foreground: oklch(0.126 0.017 244.736);
--muted: oklch(0.952 0.005 253.256);
--muted-foreground: oklch(0.395 0.013 253.415);
--popover: oklch(0.992 0.002 253.232);
--popover-foreground: oklch(0.126 0.017 244.736);
--card: oklch(0.992 0.002 253.232);
--card-foreground: oklch(0.126 0.017 244.736);
--border: oklch(0.914 0.004 253.245);
--input: oklch(0.914 0.004 253.245);
--primary: oklch(0.509 0.166 256.82);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.89 0.006 253.268);
--secondary-foreground: oklch(0.375 0.015 253.456);
--accent: oklch(0.89 0.006 253.268);
--accent-foreground: oklch(0.375 0.015 253.456);
--destructive: oklch(0.469 0.175 31.373);
--destructive-foreground: oklch(0.942 0.027 28.105);
--ring: oklch(0.509 0.166 256.82);
--chart-1: oklch(0.509 0.166 256.82);
--chart-2: oklch(0.89 0.006 253.268);
--chart-3: oklch(0.89 0.006 253.268);
--chart-4: oklch(0.914 0.005 253.256);
--chart-5: oklch(0.51 0.171 257.102);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.008 248.68);
--foreground: oklch(0.984 0.002 253.23);
--muted: oklch(0.167 0.008 253.497);
--muted-foreground: oklch(0.777 0.011 253.309);
--popover: oklch(0.129 0.008 248.68);
--popover-foreground: oklch(0.984 0.002 253.23);
--card: oklch(0.129 0.008 248.68);
--card-foreground: oklch(0.984 0.002 253.23);
--border: oklch(0.267 0.007 253.373);
--input: oklch(0.267 0.007 253.373);
--primary: oklch(0.509 0.166 256.82);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.305 0.017 253.539);
--secondary-foreground: oklch(0.832 0.015 253.334);
--accent: oklch(0.305 0.017 253.539);
--accent-foreground: oklch(0.832 0.015 253.334);
--destructive: oklch(0.629 0.232 31.438);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.509 0.166 256.82);
--chart-1: oklch(0.509 0.166 256.82);
--chart-2: oklch(0.305 0.017 253.539);
--chart-3: oklch(0.305 0.017 253.539);
--chart-4: oklch(0.334 0.019 253.547);
--chart-5: oklch(0.51 0.171 257.102);
}