Obliged Aster Flower Blue is a shadcn/ui theme built around a blue primary color (#99acdb) with green accents (#acdb99). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the blue primary (#99acdb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #000000black |
| Foreground | #000000black | #f5f7f9whitesmoke |
| Card | #f7f9fcghostwhite | #030303black |
| Card foreground | #000000black | #f9f9fbghostwhite |
| Popover | #fbfcfewhite | #000000black |
| Popover foreground | #000000black | #f5f7f9whitesmoke |
| Primary | #99acdblightsteelblue | #99acdblightsteelblue |
| Primary foreground | #111a31black | #111a31black |
| Secondary | #db99actan | #db99actan |
| Secondary foreground | #31111ablack | #31111ablack |
| Muted | #e6ccd3thistle | #331921black |
| Muted foreground | #524c4edarkslategray | #b3adafdarkgray |
| Accent | #acdb99lightgreen | #acdb99lightgreen |
| Accent foreground | #1a3111black | #1a3111black |
| Destructive | #941605darkred | #f7361dorangered |
| Destructive foreground | #fdd3cepink | #ffffffwhite |
| Border | #e2e2e4gainsboro | #1d1e20black |
| Input | #e2e2e4gainsboro | #1d1e20black |
| Ring | #99acdblightsteelblue | #99acdblightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.44:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 5.55:1 | AA |
| Accent | 8.96:1 | AAA |
| Destructive | 6.49:1 | AA |
| Text on background | 19.55:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 7.29:1 | AAA |
| Accent | 8.96:1 | AAA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Obliged Aster Flower Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 268.773);
--foreground: oklch(0 0 0);
--muted: oklch(0.868 0.031 358.706);
--muted-foreground: oklch(0.423 0.009 358.309);
--popover: oklch(0.991 0.003 268.773);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.005 268.755);
--card-foreground: oklch(0 0 0);
--border: oklch(0.914 0.002 268.774);
--input: oklch(0.914 0.002 268.774);
--primary: oklch(0.746 0.072 267.863);
--primary-foreground: oklch(0.223 0.047 266.398);
--secondary: oklch(0.753 0.082 0.717);
--secondary-foreground: oklch(0.232 0.053 4.286);
--accent: oklch(0.842 0.102 137.038);
--accent-foreground: oklch(0.285 0.061 137.643);
--destructive: oklch(0.428 0.162 31.008);
--destructive-foreground: oklch(0.902 0.048 26.884);
--ring: oklch(0.746 0.072 267.863);
--chart-1: oklch(0.746 0.072 267.863);
--chart-2: oklch(0.753 0.082 0.717);
--chart-3: oklch(0.842 0.102 137.038);
--chart-4: oklch(0.78 0.072 0.265);
--chart-5: oklch(0.744 0.076 267.786);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.004 268.764);
--muted: oklch(0.253 0.043 2.382);
--muted-foreground: oklch(0.753 0.008 358.004);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.004 268.764);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.983 0.003 268.773);
--border: oklch(0.235 0.004 268.682);
--input: oklch(0.235 0.004 268.682);
--primary: oklch(0.746 0.072 267.863);
--primary-foreground: oklch(0.223 0.047 266.398);
--secondary: oklch(0.753 0.082 0.717);
--secondary-foreground: oklch(0.232 0.053 4.286);
--accent: oklch(0.842 0.102 137.038);
--accent-foreground: oklch(0.285 0.061 137.643);
--destructive: oklch(0.635 0.23 31.032);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.746 0.072 267.863);
--chart-1: oklch(0.746 0.072 267.863);
--chart-2: oklch(0.753 0.082 0.717);
--chart-3: oklch(0.842 0.102 137.038);
--chart-4: oklch(0.78 0.072 0.265);
--chart-5: oklch(0.744 0.076 267.786);
}