nepali flag blue color is a shadcn/ui theme built around a vivid deep blue primary color (#003994) with muted light blue accents (#e1e4ea). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the vivid deep blue primary (#003994) on a blue-tinted background (#04070b).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f9fdghostwhite | #04070bblack |
| Foreground | #040910black | #f5f7f9whitesmoke |
| Card | #f3f6fcaliceblue | #06090fblack |
| Card foreground | #03070cblack | #f9fafbghostwhite |
| Popover | #f3f6fcaliceblue | #06090fblack |
| Popover foreground | #03070cblack | #f9fafbghostwhite |
| Primary | #003994midnightblue | #003994midnightblue |
| Primary foreground | #c7dcfflavender | #c7dcfflavender |
| Secondary | #e1e4eagainsboro | #23282edarkslategray |
| Secondary foreground | #3e495bdarkslategray | #bac0casilver |
| Muted | #e7ecf3lavender | #0c1018black |
| Muted foreground | #505358darkslategray | #a7aaafdarkgray |
| Accent | #e1e4eagainsboro | #23282edarkslategray |
| Accent foreground | #3e495bdarkslategray | #bac0casilver |
| Destructive | #750a0amaroon | #ed3535crimson |
| Destructive foreground | #f9b9b9lightpink | #ffffffwhite |
| Border | #e6e8ealavender | #1e2124black |
| Input | #e6e8ealavender | #1e2124black |
| Ring | #003994midnightblue | #003994midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.95:1 | AAA |
| Text on card | 18.67:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 7.15:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 18.79:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 8.15:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 4.05:1 | AA Large |
Paste this into your globals.css to use nepali flag blue color in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 259.94);
--foreground: oklch(0.137 0.018 254.513);
--muted: oklch(0.941 0.012 259.945);
--muted-foreground: oklch(0.442 0.009 259.946);
--popover: oklch(0.973 0.009 259.943);
--popover-foreground: oklch(0.124 0.015 252.19);
--card: oklch(0.973 0.009 259.943);
--card-foreground: oklch(0.124 0.015 252.19);
--border: oklch(0.929 0.003 259.938);
--input: oklch(0.929 0.003 259.938);
--primary: oklch(0.377 0.159 260.618);
--primary-foreground: oklch(0.891 0.053 259.9);
--secondary: oklch(0.919 0.009 259.943);
--secondary-foreground: oklch(0.403 0.034 259.843);
--accent: oklch(0.919 0.009 259.943);
--accent-foreground: oklch(0.403 0.034 259.843);
--destructive: oklch(0.36 0.139 27.947);
--destructive-foreground: oklch(0.843 0.075 18.752);
--ring: oklch(0.377 0.159 260.618);
--chart-1: oklch(0.377 0.159 260.618);
--chart-2: oklch(0.919 0.009 259.943);
--chart-3: oklch(0.919 0.009 259.943);
--chart-4: oklch(0.943 0.006 259.941);
--chart-5: oklch(0.378 0.163 260.638);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.012 253.839);
--foreground: oklch(0.975 0.004 259.938);
--muted: oklch(0.174 0.018 259.788);
--muted-foreground: oklch(0.737 0.008 259.944);
--popover: oklch(0.139 0.014 255.954);
--popover-foreground: oklch(0.984 0.002 259.937);
--card: oklch(0.139 0.014 255.954);
--card-foreground: oklch(0.984 0.002 259.937);
--border: oklch(0.245 0.007 259.943);
--input: oklch(0.245 0.007 259.943);
--primary: oklch(0.377 0.159 260.618);
--primary-foreground: oklch(0.891 0.053 259.9);
--secondary: oklch(0.274 0.013 259.919);
--secondary-foreground: oklch(0.806 0.015 259.946);
--accent: oklch(0.274 0.013 259.919);
--accent-foreground: oklch(0.806 0.015 259.946);
--destructive: oklch(0.62 0.22 26.479);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.377 0.159 260.618);
--chart-1: oklch(0.377 0.159 260.618);
--chart-2: oklch(0.274 0.013 259.919);
--chart-3: oklch(0.274 0.013 259.919);
--chart-4: oklch(0.304 0.016 259.915);
--chart-5: oklch(0.378 0.163 260.638);
}