shadcn token

shadcn Indigo Custom in OKLCH

Quick answer: shadcn Indigo Custom is #6366F1, which converts to oklch(0.585 0.204 277.10). On white, it has a WCAG contrast ratio of 4.46:1 and an APCA score of Lc +70.58.

This meets the WCAG 2.2 AA Large text threshold (3:1) on white. The OKLCH base colors used here are available in shadcn/ui since the Tailwind v4 update (February 2025), with 92% global browser support for OKLCH notation (caniuse, April 2026).

oklch(0.585 0.204 277.10)

shadcn Indigo Custom is a shadcn theme token. This page frames #6366F1 as a theme token: paste the :root and .dark blocks below to theme every component at once.

  • Specs

    oklch(0.585 0.204 277.10)
    #6366F1

    Highest contrast: black

    4.70:1
    Normal AAmeets WCAG 2.2
    Normal AAAdoes not meet WCAG 2.2
    Large AAmeets WCAG 2.2
    Large AAAmeets WCAG 2.2
    Lc -31.09
  • Accessibility lens

    • Base#6366F1
    • 300#939FFF
    • 500#6366F1
    • 700#3833A3

    Toggle a lens to preview this color under color vision differences.

How does shadcn Indigo Custom go from primitive to component?

  1. Primitive
  2. Semantic
  3. Component

Primitive

The raw value, before it means anything.

hex
#6366F1
oklch
oklch(0.585 0.204 277.10)

Semantic

Bound to a role token that UI reads by name.

--primary: #6366F1

One primitive feeds the role. --primary then drives --ring and the hover and active states below, so a single value stays in sync everywhere.

Component

Applied to real UI across states.

AA4.70:1
DefaultSave paletteNew
HoverSave paletteNew
ActiveSave paletteNew
DisabledSave paletteNew

On-color text: black (4.70:1 on #6366F1).

How does shadcn Indigo Custom scale from 50 to 950?

shadcn Indigo Custom
50 to 950
#EEF3FF
#CFD8FF
#B0BCFF
#939FFF
#7A82FF
#6366F1
#4C4BCC
#3833A3
#241F76
#130B4D
#050027
  • 50oklch(0.964 0.017 267.79)
  • 100oklch(0.888 0.055 275.01)
  • 200oklch(0.810 0.096 276.21)
  • 300oklch(0.733 0.139 276.98)
  • 400oklch(0.661 0.182 277.42)
  • 500oklch(0.585 0.204 277.12)
  • 600oklch(0.494 0.194 276.95)
  • 700oklch(0.404 0.174 277.22)
  • 800oklch(0.312 0.142 276.82)
  • 900oklch(0.221 0.113 277.28)
  • 950oklch(0.132 0.081 277.60)

How does shadcn Indigo Custom score on WCAG 2.2 contrast?

Every fg × bg combination, with WCAG 2.2 verdicts.

AAA (7:1+)
AA (4.5:1+)
Below AA (under 4.5:1)
Select a pair for ratio and APCA Lc

Does shadcn Indigo Custom pass WCAG 2.2 on common neutral backgrounds?

  • Aa4.46Below AA

    White #FFFFFF

  • Aa4.09Below AA

    Neutral 100 #F5F5F5

  • Aa3.54Below AA

    Neutral 200 #E5E5E5

  • Aa1.77Below AA

    Neutral 400 #A3A3A3

  • Aa1.74Below AA

    Neutral 600 #525252

  • Aa4.01Below AA

    Neutral 900 #171717

  • Aa4.70AA

    Black #000000

What palettes pair with shadcn Indigo Custom?

  • Analogous

    • #63DCF1
    • #63A1F1
    • #6366F1
    • #9B63F1
    • #D663F1
  • Complementary

    • #A9ABF7
    • #6366F1
  • Triadic

    • #6366F1
    • #1419E4
    • #F16366

Where should you use shadcn Indigo Custom in production UI?

bars: primary-500 vs secondary-500
Monthly revenue
$48,219
text: neutral-900
+12.4%accent-50 / accent-700
This period Last period
JanFebMarAprMayJun
bg: primary-700 · fg: white
Step 2 of 3
Export your first design system this week.
Continue white / primary-700Skip for now
bg: accent-50 · fg: accent-700
3 tokens changed
Review them before your next export.
Review changes
avatars: solid fills · tags: tints
Team
MOprimary-700 / whiteJLsecondary-700 / whiteARaccent-500 / black+3neutral-700 / white
Newprimary-700 / whiteLiveaccent-50 / accent-700In reviewsecondary-50 / secondary-700Draftneutral-50 / neutral-700
focus: primary-500 · border: neutral-500
Project name
Paletta web
border: primary-500 · ring: primary-100
Used in exported token names.
primary-500 / blackInclude dark mode
Add high contrast theme
Create projectprimary-700 / whiteCancel
active tab: primary-600 · rules: neutral-100
All projectsSharedArchived
ProjectStatus
Marketing site
Updated 2h ago
Liveaccent-50 / accent-700
Mobile app
Updated yesterday
In reviewsecondary-50 / secondary-700
Docs
Updated 3d ago
Draftneutral-50 / neutral-700
toggle: primary-500 · progress: secondary-500
Notifications
Weekly digestprimary-500 / card
Product updatesneutral-500
Token quota640 of 1,000
secondary-500 on neutral-50
bg: neutral-900
--primary#6366F1
--secondary#A878DC
--accent#78ACDC
--neutral#787887
line: accent-600
Active users
12,480
+8.1% this weektext: accent-700
icon: secondary-700 · action: primary-600secondary-700 / white
Palette exported
tokens.css is ready to use.
Undo

Notes on shadcn Indigo Custom

Indigo Custom lands one notch cooler and softer than a pure blue, oklch(0.585 0.204 277.1), a friendly indigo that works as a primary or a link. It is the near-miss of this set worth knowing about: as text on white it measures 4.46:1, which is AA Large, a few hundredths under the 4.5 needed for WCAG 2.2 AA on normal text, so do not assume small indigo copy on white is compliant, size it up or use a darker stop. On a near-black surface it actually does better at AA (4.7:1, APCA Lc -31.09). The triad throws an electric #1419E4 and a coral #F16366, while #A9ABF7 is a gentle tint for hovers. Under the accessibility lens indigo is stable for red-green vision (protanopia sits at #6464CF, almost unchanged), which is a point in its favor; tritanopia pulls it to teal (#63B5AF), so keep any indigo-versus-teal signal backed by text.

shadcn :root block

:root {
  --background: 240 6.7% 97.1%;
  --foreground: 240 5.9% 10%;
  --card: 0 0% 100%;
  --card-foreground: 240 5.9% 10%;
  --popover: 0 0% 100%;
  --popover-foreground: 240 5.9% 10%;
  --primary: 238.7 83.5% 66.7%;
  --primary-foreground: 0 0% 0%;
  --secondary: 240 2.7% 92.7%;
  --secondary-foreground: 240 5.9% 10%;
  --muted: 240 2.7% 92.7%;
  --muted-foreground: 240 6.2% 38%;
  --accent: 208.3 75% 90.6%;
  --accent-foreground: 240 5.9% 10%;
  --destructive: 0 72.2% 50.6%;
  --destructive-foreground: 240 6.7% 97.1%;
  --border: 240 4.9% 88%;
  --input: 240 5.9% 50%;
  --ring: 238.7 83.5% 66.7%;
  --radius: 0.5rem;
}

.dark {
  --background: 240 6.7% 5.9%;
  --foreground: 240 6.7% 97.1%;
  --card: 240 5.9% 10%;
  --card-foreground: 240 6.7% 97.1%;
  --popover: 240 5.9% 10%;
  --popover-foreground: 240 6.7% 97.1%;
  --primary: 236.4 100% 73.9%;
  --primary-foreground: 0 0% 0%;
  --secondary: 240 2.3% 17.3%;
  --secondary-foreground: 240 6.7% 97.1%;
  --muted: 240 2.3% 17.3%;
  --muted-foreground: 240 7.5% 60.6%;
  --accent: 208.5 47.3% 25.3%;
  --accent-foreground: 240 6.7% 97.1%;
  --destructive: 3.6 84.7% 61.6%;
  --destructive-foreground: 240 6.7% 5.9%;
  --border: 240 6.5% 18%;
  --input: 240 6% 39.2%;
  --ring: 238.7 83.5% 66.7%;
  --radius: 0.5rem;
}

How do you export shadcn Indigo Custom as design tokens?

Export a W3C DTCG token document for the shadcn Indigo Custom 50 to 950 scale, ready for Style Dictionary or any DTCG aware pipeline.

FAQ

Frequently asked questions

shadcn Indigo Custom (#6366F1) is oklch(0.585 0.204 277.1) in the OKLCH color space.

shadcn Indigo Custom passes WCAG 2.2 AA on black for normal text. Contrast ratios: 4.46:1 on white, 4.7:1 on black.

On white, shadcn Indigo Custom has an APCA Lc of 70.6. On black, Lc is -31.1. APCA is a perceptual contrast model, not a WCAG compliance standard.

Paste the snippet above into your globals.css (with :root and .dark blocks).

Under deuteranopia (most common, around 5 percent of men), shadcn Indigo Custom simulates to #6464c7. Under protanopia it shifts to #6464cf. Under tritanopia it appears as #63b5af. Always pair color with shape, label, or icon for accessibility.

Ready to build your color system?

Free forever, no credit card, Pro when you need more.

Built by a product designer who ships to code.