Dobri Next -A04- Cobalt is a shadcn/ui theme built around a teal primary color (#57d6d6) with deep blue accents (#294d65). The light mode uses a blue-tinted background (#13242f). Dark mode keeps the teal primary (#57d6d6) on a blue-tinted background (#13242f).
| Token | Light | Dark |
|---|---|---|
| Background | #13242fdarkslategray | #13242fdarkslategray |
| Foreground | #f5f5f5whitesmoke | #f5f5f5whitesmoke |
| Card | #101e28black | #101e28black |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #0f1c24black | #0f1c24black |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #57d6d6mediumturquoise | #57d6d6mediumturquoise |
| Primary foreground | #000000black | #000000black |
| Secondary | #2d5353darkslategray | #2d5353darkslategray |
| Secondary foreground | #cde4e4gainsboro | #cde4e4gainsboro |
| Muted | #262c31darkslategray | #262c31darkslategray |
| Muted foreground | #a1adb5darkgray | #a1adb5darkgray |
| Accent | #294d65darkslategray | #294d65darkslategray |
| Accent foreground | #d4e3edgainsboro | #d4e3edgainsboro |
| Destructive | #f82216red | #f82216red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #1f313ddarkslategray | #1f313ddarkslategray |
| Input | #243947darkslategray | #243947darkslategray |
| Ring | #57d6d6mediumturquoise | #57d6d6mediumturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.58:1 | AAA |
| Text on card | 16.89:1 | AAA |
| Primary button | 12.01:1 | AAA |
| Secondary button | 6.40:1 | AA |
| Muted text | 6.13:1 | AA |
| Accent | 6.78:1 | AA |
| Destructive | 4.02:1 | AA Large |
| Text on background | 14.58:1 | AAA |
| Text on card | 16.89:1 | AAA |
| Primary button | 12.01:1 | AAA |
| Secondary button | 6.40:1 | AA |
| Muted text | 6.13:1 | AA |
| Accent | 6.78:1 | AA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Dobri Next -A04- Cobalt in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.251 0.031 238.883);
--foreground: oklch(0.97 0 180);
--muted: oklch(0.29 0.012 237.045);
--muted-foreground: oklch(0.74 0.018 236.792);
--popover: oklch(0.217 0.025 238.622);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.229 0.027 238.718);
--card-foreground: oklch(1 0 180);
--border: oklch(0.303 0.031 238.357);
--input: oklch(0.333 0.036 238.442);
--primary: oklch(0.807 0.111 195.171);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.414 0.044 195.596);
--secondary-foreground: oklch(0.903 0.024 196.729);
--accent: oklch(0.406 0.058 239.538);
--accent-foreground: oklch(0.907 0.022 236.788);
--destructive: oklch(0.624 0.242 29.36);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.807 0.111 195.171);
--chart-1: oklch(0.807 0.111 195.171);
--chart-2: oklch(0.414 0.044 195.596);
--chart-3: oklch(0.406 0.058 239.538);
--chart-4: oklch(0.447 0.048 195.577);
--chart-5: oklch(0.814 0.115 195.131);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.251 0.031 238.883);
--foreground: oklch(0.97 0 180);
--muted: oklch(0.29 0.012 237.045);
--muted-foreground: oklch(0.74 0.018 236.792);
--popover: oklch(0.217 0.025 238.622);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.229 0.027 238.718);
--card-foreground: oklch(1 0 180);
--border: oklch(0.303 0.031 238.357);
--input: oklch(0.333 0.036 238.442);
--primary: oklch(0.807 0.111 195.171);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.414 0.044 195.596);
--secondary-foreground: oklch(0.903 0.024 196.729);
--accent: oklch(0.406 0.058 239.538);
--accent-foreground: oklch(0.907 0.022 236.788);
--destructive: oklch(0.624 0.242 29.36);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.807 0.111 195.171);
--chart-1: oklch(0.807 0.111 195.171);
--chart-2: oklch(0.414 0.044 195.596);
--chart-3: oklch(0.406 0.058 239.538);
--chart-4: oklch(0.447 0.048 195.577);
--chart-5: oklch(0.814 0.115 195.131);
}