Million Grey Piranha is a shadcn/ui theme built around a blue primary color (#1b5ea1) with orange accents (#a15e1b). The light mode uses a neutral background (#fbfcfe). Dark mode switches to a neutral gray primary (#999999) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #000000black |
| Foreground | #03080cblack | #f9f9f9ghostwhite |
| Card | #f7fafdghostwhite | #030303black |
| Card foreground | #020508black | #fcfcfdwhite |
| Popover | #f7fafdghostwhite | #030303black |
| Popover foreground | #020508black | #fcfcfdwhite |
| Primary | #1b5ea1teal | #999999darkgray |
| Primary foreground | #f2f7fdaliceblue | #f2f7fdaliceblue |
| Secondary | #a15e1bsienna | #0e0e0eblack |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2dbd5gainsboro | #2a241dblack |
| Muted foreground | #605952dimgray | #ada69fdarkgray |
| Accent | #a15e1bsienna | #a15e1bsienna |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #721408maroon | #e02810orangered |
| Destructive foreground | #fabbb3lightpink | #ffffffwhite |
| Border | #eef0f1whitesmoke | #1b1f22black |
| Input | #eef0f1whitesmoke | #1b1f22black |
| Ring | #1b5ea1teal | #1b5ea1teal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.64:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 6.13:1 | AA |
| Secondary button | 5.05:1 | AA |
| Muted text | 5.03:1 | AA |
| Accent | 5.05:1 | AA |
| Destructive | 7.01:1 | AAA |
| Text on background | 19.94:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 2.64:1 | Fail |
| Secondary button | 19.34:1 | AAA |
| Muted text | 6.38:1 | AA |
| Accent | 5.05:1 | AA |
| Destructive | 4.68:1 | AA |
Paste this into your globals.css to use Million Grey Piranha in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 247.849);
--foreground: oklch(0.128 0.016 239.847);
--muted: oklch(0.896 0.012 67.675);
--muted-foreground: oklch(0.469 0.015 67.46);
--popover: oklch(0.983 0.005 247.878);
--popover-foreground: oklch(0.112 0.014 239.035);
--card: oklch(0.983 0.005 247.878);
--card-foreground: oklch(0.112 0.014 239.035);
--border: oklch(0.953 0.003 247.853);
--input: oklch(0.953 0.003 247.853);
--primary: oklch(0.478 0.126 252.351);
--primary-foreground: oklch(0.975 0.009 247.921);
--secondary: oklch(0.548 0.116 60.105);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.548 0.116 60.105);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.361 0.13 31.076);
--destructive-foreground: oklch(0.847 0.074 27.267);
--ring: oklch(0.478 0.126 252.351);
--chart-1: oklch(0.478 0.126 252.351);
--chart-2: oklch(0.548 0.116 60.105);
--chart-3: oklch(0.548 0.116 60.105);
--chart-4: oklch(0.58 0.124 59.964);
--chart-5: oklch(0.479 0.131 252.68);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0 180);
--muted: oklch(0.264 0.016 67.044);
--muted-foreground: oklch(0.728 0.013 67.62);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.992 0.001 247.835);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.001 247.835);
--border: oklch(0.236 0.008 248.176);
--input: oklch(0.236 0.008 248.176);
--primary: oklch(0.683 0 180);
--primary-foreground: oklch(0.975 0.009 247.921);
--secondary: oklch(0.162 0 158.199);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.548 0.116 60.105);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.584 0.22 30.917);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.478 0.126 252.351);
--chart-1: oklch(0.478 0.126 252.351);
--chart-2: oklch(0.548 0.116 60.105);
--chart-3: oklch(0.548 0.116 60.105);
--chart-4: oklch(0.58 0.124 59.964);
--chart-5: oklch(0.479 0.131 252.68);
}