Bearded Theme Stained Blue is a shadcn/ui theme built around a vivid blue primary color (#387eff) with deep blue accents (#2a365a). The light mode uses a blue-tinted background (#121726). Dark mode keeps the vivid blue primary (#387eff) on a blue-tinted background (#121726).
| Token | Light | Dark |
|---|---|---|
| Background | #121726black | #121726black |
| Foreground | #c2c8dblightsteelblue | #c2c8dblightsteelblue |
| Card | #0f131fblack | #0f131fblack |
| Card foreground | #d2d6e5gainsboro | #d2d6e5gainsboro |
| Popover | #0d111cblack | #0d111cblack |
| Popover foreground | #e2e5eelavender | #e2e5eelavender |
| Primary | #387effdodgerblue | #387effdodgerblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acbad2lightsteelblue | #acbad2lightsteelblue |
| Secondary foreground | #1b2332darkslategray | #1b2332darkslategray |
| Muted | #22242bdarkslategray | #22242bdarkslategray |
| Muted foreground | #9ba0b0darkgray | #9ba0b0darkgray |
| Accent | #2a365adarkslategray | #2a365adarkslategray |
| Accent foreground | #ced5e8gainsboro | #ced5e8gainsboro |
| Destructive | #fd1c08red | #fd1c08red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #1e2333darkslategray | #1e2333darkslategray |
| Input | #242a3ddarkslategray | #242a3ddarkslategray |
| Ring | #387effdodgerblue | #387effdodgerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.69:1 | AAA |
| Text on card | 12.80:1 | AAA |
| Primary button | 3.76:1 | AA Large |
| Secondary button | 8.00:1 | AAA |
| Muted text | 5.94:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 3.94:1 | AA Large |
| Text on background | 10.69:1 | AAA |
| Text on card | 12.80:1 | AAA |
| Primary button | 3.76:1 | AA Large |
| Secondary button | 8.00:1 | AAA |
| Muted text | 5.94:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Bearded Theme Stained Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.208 0.031 269.468);
--foreground: oklch(0.834 0.028 272.286);
--muted: oklch(0.261 0.013 270.863);
--muted-foreground: oklch(0.708 0.024 271.061);
--popover: oklch(0.178 0.024 269.747);
--popover-foreground: oklch(0.922 0.013 272.511);
--card: oklch(0.188 0.026 269.643);
--card-foreground: oklch(0.878 0.02 272.408);
--border: oklch(0.261 0.031 269.946);
--input: oklch(0.289 0.036 269.865);
--primary: oklch(0.62 0.205 261.394);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.785 0.038 262.896);
--secondary-foreground: oklch(0.255 0.031 262.476);
--accent: oklch(0.342 0.065 268.835);
--accent-foreground: oklch(0.874 0.027 271.091);
--destructive: oklch(0.63 0.249 30.005);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.62 0.205 261.394);
--chart-1: oklch(0.62 0.205 261.394);
--chart-2: oklch(0.785 0.038 262.896);
--chart-3: oklch(0.342 0.065 268.835);
--chart-4: oklch(0.811 0.033 262.93);
--chart-5: oklch(0.619 0.211 261.393);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.208 0.031 269.468);
--foreground: oklch(0.834 0.028 272.286);
--muted: oklch(0.261 0.013 270.863);
--muted-foreground: oklch(0.708 0.024 271.061);
--popover: oklch(0.178 0.024 269.747);
--popover-foreground: oklch(0.922 0.013 272.511);
--card: oklch(0.188 0.026 269.643);
--card-foreground: oklch(0.878 0.02 272.408);
--border: oklch(0.261 0.031 269.946);
--input: oklch(0.289 0.036 269.865);
--primary: oklch(0.62 0.205 261.394);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.785 0.038 262.896);
--secondary-foreground: oklch(0.255 0.031 262.476);
--accent: oklch(0.342 0.065 268.835);
--accent-foreground: oklch(0.874 0.027 271.091);
--destructive: oklch(0.63 0.249 30.005);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.62 0.205 261.394);
--chart-1: oklch(0.62 0.205 261.394);
--chart-2: oklch(0.785 0.038 262.896);
--chart-3: oklch(0.342 0.065 268.835);
--chart-4: oklch(0.811 0.033 262.93);
--chart-5: oklch(0.619 0.211 261.393);
}