Frantic Persian Blue light theme is a shadcn/ui theme built around a vivid blue primary color (#0f3cc2) with near-white accents (#e8e8e8). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the vivid blue primary (#0f3cc2) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #000000black |
| Foreground | #030816black | #f5f6fawhitesmoke |
| Card | #f2f5fcaliceblue | #030303black |
| Card foreground | #030612black | #f8f9fbghostwhite |
| Popover | #f7f8fdghostwhite | #000000black |
| Popover foreground | #030816black | #f5f6fawhitesmoke |
| Primary | #0f3cc2mediumblue | #0f3cc2mediumblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e8e8e8lavender | #313235darkslategray |
| Secondary foreground | #4f4f4fdarkslategray | #cacbcelightgrey |
| Muted | #e7d4d4gainsboro | #181c2bblack |
| Muted foreground | #464343darkslategray | #b9b9bcsilver |
| Accent | #e8e8e8lavender | #313235darkslategray |
| Accent foreground | #4f4f4fdarkslategray | #cacbcelightgrey |
| Destructive | #672304maroon | #f76c2btomato |
| Destructive foreground | #fcbea1lightpink | #000000black |
| Border | #e0e1e6gainsboro | #1b1d22black |
| Input | #e0e1e6gainsboro | #1b1d22black |
| Ring | #0f3cc2mediumblue | #0f3cc2mediumblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.86:1 | AAA |
| Text on card | 18.52:1 | AAA |
| Primary button | 8.60:1 | AAA |
| Secondary button | 6.68:1 | AA |
| Muted text | 6.90:1 | AA |
| Accent | 6.68:1 | AA |
| Destructive | 7.12:1 | AAA |
| Text on background | 19.44:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 8.60:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 8.64:1 | AAA |
| Accent | 7.90:1 | AAA |
| Destructive | 7.14:1 | AAA |
Paste this into your globals.css to use Frantic Persian Blue light theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.007 271.343);
--foreground: oklch(0.138 0.033 263.531);
--muted: oklch(0.886 0.021 17.563);
--muted-foreground: oklch(0.387 0.004 17.317);
--popover: oklch(0.98 0.007 271.343);
--popover-foreground: oklch(0.138 0.033 263.531);
--card: oklch(0.97 0.01 271.307);
--card-foreground: oklch(0.127 0.028 262.234);
--border: oklch(0.911 0.007 271.336);
--input: oklch(0.911 0.007 271.336);
--primary: oklch(0.432 0.213 264.262);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.931 0 180);
--secondary-foreground: oklch(0.428 0 180);
--accent: oklch(0.931 0 180);
--accent-foreground: oklch(0.428 0 180);
--destructive: oklch(0.357 0.105 41.155);
--destructive-foreground: oklch(0.851 0.081 45.979);
--ring: oklch(0.432 0.213 264.262);
--chart-1: oklch(0.432 0.213 264.262);
--chart-2: oklch(0.931 0 180);
--chart-3: oklch(0.931 0 180);
--chart-4: oklch(0.954 0 180);
--chart-5: oklch(0.432 0.219 264.157);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.974 0.005 271.362);
--muted: oklch(0.23 0.029 269.844);
--muted-foreground: oklch(0.787 0.003 271.374);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.974 0.005 271.362);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.983 0.003 271.378);
--border: oklch(0.23 0.011 270.903);
--input: oklch(0.23 0.011 270.903);
--primary: oklch(0.432 0.213 264.262);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.317 0.006 271.238);
--secondary-foreground: oklch(0.842 0.004 271.361);
--accent: oklch(0.317 0.006 271.238);
--accent-foreground: oklch(0.842 0.004 271.361);
--destructive: oklch(0.694 0.186 42.33);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.432 0.213 264.262);
--chart-1: oklch(0.432 0.213 264.262);
--chart-2: oklch(0.317 0.006 271.238);
--chart-3: oklch(0.317 0.006 271.238);
--chart-4: oklch(0.347 0.006 271.233);
--chart-5: oklch(0.432 0.219 264.157);
}