Mystery Oceans Scorpion for shadcn/ui

Mystery Oceans Scorpion is a shadcn/ui theme built around a blue primary color (#143f85) with orange accents (#855a14). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the blue primary (#143f85) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#f7f9fdghostwhite
#010204black
Foreground
#03070cblack
#f5f7f9whitesmoke
Card
#f3f6fbaliceblue
#030507black
Card foreground
#020408black
#f9fafbghostwhite
Popover
#f3f6fbaliceblue
#030507black
Popover foreground
#020408black
#f9fafbghostwhite
Primary
#143f85midnightblue
#143f85midnightblue
Primary foreground
#d3e1f8lavender
#d3e1f8lavender
Secondary
#855a14saddlebrown
#855a14saddlebrown
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f3ede2linen
#1d160cblack
Muted foreground
#575552dimgray
#adaba8darkgray
Accent
#855a14saddlebrown
#855a14saddlebrown
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#bf1603firebrick
#fc412ctomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e6e8ealavender
#17191cblack
Input
#e6e8ealavender
#17191cblack
Ring
#143f85midnightblue
#143f85midnightblue

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.19:1AAA
Text on card19.00:1AAA
Primary button7.61:1AAA
Secondary button6.06:1AA
Muted text6.35:1AA
Accent6.06:1AA
Destructive6.31:1AA
Dark mode
Text on background19.29:1AAA
Text on card19.57:1AAA
Primary button7.61:1AAA
Secondary button6.06:1AA
Muted text7.81:1AAA
Accent6.06:1AA
Destructive3.54:1AA Large

CSS variables

Paste this into your globals.css to use Mystery Oceans Scorpion in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 259.939);
  --foreground: oklch(0.123 0.018 251.199);
  --muted: oklch(0.947 0.015 79.9);
  --muted-foreground: oklch(0.449 0.006 79.909);
  --popover: oklch(0.973 0.008 259.942);
  --popover-foreground: oklch(0.107 0.015 250.613);
  --card: oklch(0.973 0.008 259.942);
  --card-foreground: oklch(0.107 0.015 250.613);
  --border: oklch(0.929 0.003 259.938);
  --input: oklch(0.929 0.003 259.938);
  --primary: oklch(0.383 0.127 259.788);
  --primary-foreground: oklch(0.906 0.036 259.933);
  --secondary: oklch(0.502 0.099 73.396);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.502 0.099 73.396);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.512 0.201 30.454);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.383 0.127 259.788);
  --chart-1: oklch(0.383 0.127 259.788);
  --chart-2: oklch(0.502 0.099 73.396);
  --chart-3: oklch(0.502 0.099 73.396);
  --chart-4: oklch(0.537 0.106 73.202);
  --chart-5: oklch(0.383 0.131 259.884);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.009 253.393);
  --foreground: oklch(0.975 0.004 259.938);
  --muted: oklch(0.206 0.021 79.053);
  --muted-foreground: oklch(0.743 0.005 79.922);
  --popover: oklch(0.11 0.011 253.393);
  --popover-foreground: oklch(0.984 0.002 259.936);
  --card: oklch(0.11 0.011 253.393);
  --card-foreground: oklch(0.984 0.002 259.936);
  --border: oklch(0.213 0.006 259.944);
  --input: oklch(0.213 0.006 259.944);
  --primary: oklch(0.383 0.127 259.788);
  --primary-foreground: oklch(0.906 0.036 259.933);
  --secondary: oklch(0.502 0.099 73.396);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.502 0.099 73.396);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.653 0.226 30.35);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.383 0.127 259.788);
  --chart-1: oklch(0.383 0.127 259.788);
  --chart-2: oklch(0.502 0.099 73.396);
  --chart-3: oklch(0.502 0.099 73.396);
  --chart-4: oklch(0.537 0.106 73.202);
  --chart-5: oklch(0.383 0.131 259.884);
}