Bright Midnight Wildfowl is a shadcn/ui theme built around a vivid deep blue primary color (#02178d) with vivid deep yellow accents (#8d7802). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep blue primary (#02178d) on a neutral background (#020308).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020308black |
| Foreground | #030616black | #f4f5fawhitesmoke |
| Card | #ffffffwhite | #020308black |
| Card foreground | #030616black | #f4f5fawhitesmoke |
| Popover | #ffffffwhite | #020308black |
| Popover foreground | #030616black | #f4f5fawhitesmoke |
| Primary | #02178ddarkblue | #02178ddarkblue |
| Primary foreground | #c3ccfelightblue | #c3ccfelightblue |
| Secondary | #8d7802olive | #8d7802olive |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e9e7d8antiquewhite | #272516black |
| Muted foreground | #55534adarkolivegreen | #b5b4aadarkgray |
| Accent | #8d7802olive | #8d7802olive |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #e24603orangered | #fb550eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #f1f1f3whitesmoke | #23242adarkslategray |
| Input | #f1f1f3whitesmoke | #23242adarkslategray |
| Ring | #02178ddarkblue | #02178ddarkblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.16:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 8.88:1 | AAA |
| Secondary button | 4.36:1 | AA Large |
| Muted text | 6.18:1 | AA |
| Accent | 4.36:1 | AA Large |
| Destructive | 4.10:1 | AA Large |
| Text on background | 18.92:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 8.88:1 | AAA |
| Secondary button | 4.36:1 | AA Large |
| Muted text | 7.39:1 | AAA |
| Accent | 4.36:1 | AA Large |
| Destructive | 3.26:1 | AA Large |
Paste this into your globals.css to use Bright Midnight Wildfowl in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.131 0.037 269.373);
--muted: oklch(0.925 0.02 98.617);
--muted-foreground: oklch(0.441 0.015 98.774);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.131 0.037 269.373);
--card: oklch(1 0 180);
--card-foreground: oklch(0.131 0.037 269.373);
--border: oklch(0.96 0.003 278.278);
--input: oklch(0.96 0.003 278.278);
--primary: oklch(0.311 0.187 264.583);
--primary-foreground: oklch(0.854 0.071 276.97);
--secondary: oklch(0.575 0.118 96.894);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.575 0.118 96.894);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.613 0.202 37.482);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.311 0.187 264.583);
--chart-1: oklch(0.311 0.187 264.583);
--chart-2: oklch(0.575 0.118 96.894);
--chart-3: oklch(0.575 0.118 96.894);
--chart-4: oklch(0.618 0.127 96.769);
--chart-5: oklch(0.312 0.191 264.168);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.018 271.476);
--foreground: oklch(0.972 0.007 278.216);
--muted: oklch(0.262 0.026 99.403);
--muted-foreground: oklch(0.768 0.013 98.556);
--popover: oklch(0.1 0.018 271.476);
--popover-foreground: oklch(0.972 0.007 278.216);
--card: oklch(0.1 0.018 271.476);
--card-foreground: oklch(0.972 0.007 278.216);
--border: oklch(0.261 0.011 277.672);
--input: oklch(0.261 0.011 277.672);
--primary: oklch(0.311 0.187 264.583);
--primary-foreground: oklch(0.854 0.071 276.97);
--secondary: oklch(0.575 0.118 96.894);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.575 0.118 96.894);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.67 0.213 38.379);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.311 0.187 264.583);
--chart-1: oklch(0.311 0.187 264.583);
--chart-2: oklch(0.575 0.118 96.894);
--chart-3: oklch(0.575 0.118 96.894);
--chart-4: oklch(0.618 0.127 96.769);
--chart-5: oklch(0.312 0.191 264.168);
}