SMCC 3 is a shadcn/ui theme built around a deep blue primary color (#0c2340) with vivid cyan accents (#0089a8). The light mode uses a neutral background (#f2f2f2). Dark mode keeps the deep blue primary (#0c2340) on a blue-tinted background (#05070a).
| Token | Light | Dark |
|---|---|---|
| Background | #f2f2f2whitesmoke | #05070ablack |
| Foreground | #040c16black | #f9fafbghostwhite |
| Card | #fcfcfcsnow | #070a0eblack |
| Card foreground | #030911black | #fcfcfdwhite |
| Popover | #ffffffwhite | #05070ablack |
| Popover foreground | #040c16black | #f9fafbghostwhite |
| Primary | #0c2340midnightblue | #0c2340midnightblue |
| Primary foreground | #f2f2f2whitesmoke | #94b9ebskyblue |
| Secondary | #ffc70fgold | #402a0cdarkolivegreen |
| Secondary foreground | #0c223fmidnightblue | #ebc594burlywood |
| Muted | #e6e6e6gainsboro | #100f0eblack |
| Muted foreground | #556272dimgray | #aa9e8drosybrown |
| Accent | #0089a8darkcyan | #402a0cdarkolivegreen |
| Accent foreground | #f2f2f2whitesmoke | #ebc594burlywood |
| Destructive | #d00606red | #f74522orangered |
| Destructive foreground | #f2f2f2whitesmoke | #ffffffwhite |
| Border | #f0f0f1whitesmoke | #19191ablack |
| Input | #d0d0d0lightgrey | #19191ablack |
| Ring | #144e9bdarkslateblue | #0c2340midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.54:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 14.12:1 | AAA |
| Secondary button | 10.20:1 | AAA |
| Muted text | 4.96:1 | AA |
| Accent | 3.64:1 | AA Large |
| Destructive | 5.05:1 | AA |
| Text on background | 19.27:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 7.25:1 | AAA |
| Accent | 8.33:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use SMCC 3 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.961 0 180);
--foreground: oklch(0.149 0.026 251.491);
--muted: oklch(0.923 0 153.435);
--muted-foreground: oklch(0.491 0.031 253.292);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.149 0.026 251.491);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.138 0.022 248.561);
--border: oklch(0.956 0.001 291.591);
--input: oklch(0.857 0 169.695);
--primary: oklch(0.255 0.063 256.167);
--primary-foreground: oklch(0.961 0 180);
--secondary: oklch(0.856 0.173 87.737);
--secondary-foreground: oklch(0.252 0.062 256.297);
--accent: oklch(0.584 0.107 221.198);
--accent-foreground: oklch(0.961 0 180);
--destructive: oklch(0.54 0.219 28.985);
--destructive-foreground: oklch(0.961 0 180);
--ring: oklch(0.434 0.139 257.433);
--chart-1: oklch(0.341 0.115 257.781);
--chart-2: oklch(0.584 0.107 221.198);
--chart-3: oklch(0.868 0.169 89.81);
--chart-4: oklch(0.756 0.131 91.754);
--chart-5: oklch(0.681 0.124 220.891);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.009 249.853);
--foreground: oklch(0.984 0.002 254.966);
--muted: oklch(0.171 0.003 74.844);
--muted-foreground: oklch(0.704 0.028 74.647);
--popover: oklch(0.128 0.009 249.853);
--popover-foreground: oklch(0.984 0.002 254.966);
--card: oklch(0.141 0.011 252.149);
--card-foreground: oklch(0.992 0.001 254.959);
--border: oklch(0.215 0.002 255.003);
--input: oklch(0.215 0.002 255.003);
--primary: oklch(0.255 0.063 256.167);
--primary-foreground: oklch(0.778 0.082 255.328);
--secondary: oklch(0.305 0.054 70.201);
--secondary-foreground: oklch(0.844 0.077 73.913);
--accent: oklch(0.305 0.054 70.201);
--accent-foreground: oklch(0.844 0.077 73.913);
--destructive: oklch(0.648 0.219 32.974);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.255 0.063 256.167);
--chart-1: oklch(0.255 0.063 256.167);
--chart-2: oklch(0.305 0.054 70.201);
--chart-3: oklch(0.305 0.054 70.201);
--chart-4: oklch(0.342 0.063 69.76);
--chart-5: oklch(0.255 0.065 256.285);
}