Thundering Ragtime Blues is a shadcn/ui theme built around a muted blue primary color (#475c6b) with muted orange accents (#6b5647). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted blue primary (#475c6b) on a neutral background (#030507).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030507black |
| Foreground | #010304black | #f8fafbghostwhite |
| Card | #ffffffwhite | #030507black |
| Card foreground | #010304black | #f8fafbghostwhite |
| Popover | #ffffffwhite | #030507black |
| Popover foreground | #010304black | #f8fafbghostwhite |
| Primary | #475c6bdimgray | #475c6bdimgray |
| Primary foreground | #f0f3f5whitesmoke | #f0f3f5whitesmoke |
| Secondary | #6b5647darkolivegreen | #6b5647darkolivegreen |
| Secondary foreground | #f5f2f0whitesmoke | #f5f2f0whitesmoke |
| Muted | #e6dfdbgainsboro | #241e19black |
| Muted foreground | #746458dimgray | #a7978brosybrown |
| Accent | #6b5647darkolivegreen | #6b5647darkolivegreen |
| Accent foreground | #f5f2f0whitesmoke | #f5f2f0whitesmoke |
| Destructive | #a23a06saddlebrown | #f7651dchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e8ebedlavender | #1d2225black |
| Input | #e8ebedlavender | #1d2225black |
| Ring | #475c6bdimgray | #475c6bdimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 6.16:1 | AA |
| Muted text | 4.31:1 | AA Large |
| Accent | 6.16:1 | AA |
| Destructive | 6.65:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 6.23:1 | AA |
| Secondary button | 6.16:1 | AA |
| Muted text | 5.84:1 | AA |
| Accent | 6.16:1 | AA |
| Destructive | 6.83:1 | AA |
Paste this into your globals.css to use Thundering Ragtime Blues in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.091 0.012 229.27);
--muted: oklch(0.909 0.01 58.21);
--muted-foreground: oklch(0.514 0.028 57.587);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.091 0.012 229.27);
--card: oklch(1 0 180);
--card-foreground: oklch(0.091 0.012 229.27);
--border: oklch(0.938 0.004 238.43);
--input: oklch(0.938 0.004 238.43);
--primary: oklch(0.464 0.035 239.577);
--primary-foreground: oklch(0.962 0.004 238.425);
--secondary: oklch(0.471 0.036 57.247);
--secondary-foreground: oklch(0.962 0.004 58.3);
--accent: oklch(0.471 0.036 57.247);
--accent-foreground: oklch(0.962 0.004 58.3);
--destructive: oklch(0.491 0.148 40.824);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.464 0.035 239.577);
--chart-1: oklch(0.464 0.035 239.577);
--chart-2: oklch(0.471 0.036 57.247);
--chart-3: oklch(0.471 0.036 57.247);
--chart-4: oklch(0.499 0.039 57.234);
--chart-5: oklch(0.465 0.04 239.794);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.008 233.254);
--foreground: oklch(0.985 0.002 238.398);
--muted: oklch(0.24 0.014 57.54);
--muted-foreground: oklch(0.686 0.026 57.829);
--popover: oklch(0.115 0.008 233.254);
--popover-foreground: oklch(0.985 0.002 238.398);
--card: oklch(0.115 0.008 233.254);
--card-foreground: oklch(0.985 0.002 238.398);
--border: oklch(0.248 0.01 238.963);
--input: oklch(0.248 0.01 238.963);
--primary: oklch(0.464 0.035 239.577);
--primary-foreground: oklch(0.962 0.004 238.425);
--secondary: oklch(0.471 0.036 57.247);
--secondary-foreground: oklch(0.962 0.004 58.3);
--accent: oklch(0.471 0.036 57.247);
--accent-foreground: oklch(0.962 0.004 58.3);
--destructive: oklch(0.683 0.194 42.254);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.464 0.035 239.577);
--chart-1: oklch(0.464 0.035 239.577);
--chart-2: oklch(0.471 0.036 57.247);
--chart-3: oklch(0.471 0.036 57.247);
--chart-4: oklch(0.499 0.039 57.234);
--chart-5: oklch(0.465 0.04 239.794);
}