Front Royal Vessel is a shadcn/ui theme built around a vivid indigo primary color (#3a30e8) with vivid violet accents (#9530e8). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid indigo primary (#3a30e8) on an indigo-tinted background (#05040b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #05040bblack |
| Foreground | #030212black | #f9f8fbghostwhite |
| Card | #fbfbfeghostwhite | #05040bblack |
| Card foreground | #030212black | #f9f8fbghostwhite |
| Popover | #fbfbfeghostwhite | #05040bblack |
| Popover foreground | #030212black | #f9f8fbghostwhite |
| Primary | #3a30e8royalblue | #3a30e8royalblue |
| Primary foreground | #e9e8fclavender | #e9e8fclavender |
| Secondary | #3083e8royalblue | #3083e8royalblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eef2f6whitesmoke | #090c11black |
| Muted foreground | #4e545adarkslategray | #a5aab1darkgray |
| Accent | #9530e8blueviolet | #9530e8blueviolet |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #9c240dfirebrick | #ed4321orangered |
| Destructive foreground | #fce3demistyrose | #ffffffwhite |
| Border | #e7e7e9lavender | #252428darkslategray |
| Input | #e7e7e9lavender | #252428darkslategray |
| Ring | #3a30e8royalblue | #3a30e8royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 6.27:1 | AA |
| Secondary button | 3.78:1 | AA Large |
| Muted text | 6.80:1 | AA |
| Accent | 5.40:1 | AA |
| Destructive | 6.43:1 | AA |
| Text on background | 19.28:1 | AAA |
| Text on card | 19.28:1 | AAA |
| Primary button | 6.27:1 | AA |
| Secondary button | 3.78:1 | AA Large |
| Muted text | 8.37:1 | AAA |
| Accent | 5.40:1 | AA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Front Royal Vessel in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 288.632);
--foreground: oklch(0.109 0.041 281.183);
--muted: oklch(0.959 0.007 253.271);
--muted-foreground: oklch(0.442 0.013 253.397);
--popover: oklch(0.989 0.004 288.632);
--popover-foreground: oklch(0.109 0.041 281.183);
--card: oklch(0.989 0.004 288.632);
--card-foreground: oklch(0.109 0.041 281.183);
--border: oklch(0.928 0.003 288.647);
--input: oklch(0.928 0.003 288.647);
--primary: oklch(0.473 0.258 272.606);
--primary-foreground: oklch(0.938 0.027 288.157);
--secondary: oklch(0.613 0.172 255.675);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.557 0.253 303.744);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.455 0.159 32.796);
--destructive-foreground: oklch(0.935 0.029 31.13);
--ring: oklch(0.473 0.258 272.606);
--chart-1: oklch(0.473 0.258 272.606);
--chart-2: oklch(0.613 0.172 255.675);
--chart-3: oklch(0.557 0.253 303.744);
--chart-4: oklch(0.636 0.161 255.166);
--chart-5: oklch(0.471 0.265 271.802);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.114 0.019 286.022);
--foreground: oklch(0.981 0.004 288.632);
--muted: oklch(0.154 0.012 253.214);
--muted-foreground: oklch(0.737 0.011 253.318);
--popover: oklch(0.114 0.019 286.022);
--popover-foreground: oklch(0.981 0.004 288.632);
--card: oklch(0.114 0.019 286.022);
--card-foreground: oklch(0.981 0.004 288.632);
--border: oklch(0.263 0.007 288.203);
--input: oklch(0.263 0.007 288.203);
--primary: oklch(0.473 0.258 272.606);
--primary-foreground: oklch(0.938 0.027 288.157);
--secondary: oklch(0.613 0.172 255.675);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.557 0.253 303.744);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.629 0.211 33.009);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.473 0.258 272.606);
--chart-1: oklch(0.473 0.258 272.606);
--chart-2: oklch(0.613 0.172 255.675);
--chart-3: oklch(0.557 0.253 303.744);
--chart-4: oklch(0.636 0.161 255.166);
--chart-5: oklch(0.471 0.265 271.802);
}