Brand colors

Codecademy colors

Codecademy's 5 brand colors as structured tokens — every role's hex with copy buttons, contrast pairs measured against the brand's own surface, and CSS / DTCG downloads. Ask your agent for a palette inspired by Codecademy via the colors MCP.

Extracted
Version
3
Verified from the live site at codecademy.com on 2 September 2026 (version 3).

Role tokens

  • primary#1c4454 · Charcoal
  • secondary#2c4c5c · Charcoal
  • accent#dc2626 · Crimson
  • surface#ffffff · White
  • text#111111 · Near Black

Contrast pairs

PairRatioAAAA largeAAAFix
Aaprimary on surface
10.48:1passpasspass
Aasecondary on surface
9.15:1passpasspass
Aaaccent on surface
4.83:1passpassfailAAA: accent #ab1c1c (7.21:1)
Aatext on surface
18.88:1passpasspass
Aatext on primary
1.8:1failfailfailAA: text #ababab (4.56:1)
Aatext on secondary
2.06:1failfailfailAA: text #b8b8b8 (4.61:1)
Aatext on accent
3.91:1failpassfailAA: text #f7f7f7 (4.51:1)

Measured against the brand's own surface where it has one; fixes move lightness only so they stay on-hue.

Download

The same tokens as CSS custom properties, a Tailwind v4 @theme block, and a W3C DTCG color group — or fetch tokens.json / brand.css for the full brand.

css · codecademy-com-colors.css
:root {
  --color-primary: #1c4454;
  --color-secondary: #2c4c5c;
  --color-accent: #dc2626;
  --color-surface: #ffffff;
  --color-text: #111111;
}
tailwind · theme.css
/* Codecademy — Tailwind v4 theme. Import after "tailwindcss". */
@theme {
  --color-primary: #1c4454;
  --color-secondary: #2c4c5c;
  --color-accent: #dc2626;
  --color-surface: #ffffff;
  --color-text: #111111;
}
dtcg · codecademy-com-colors.tokens.json
{
  "$description": "Codecademy brand colors",
  "color": {
    "primary": {
      "$type": "color",
      "$value": "#1c4454"
    },
    "secondary": {
      "$type": "color",
      "$value": "#2c4c5c"
    },
    "accent": {
      "$type": "color",
      "$value": "#dc2626"
    },
    "surface": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "text": {
      "$type": "color",
      "$value": "#111111"
    }
  }
}

Similar brand palettes

Public brands whose primary sits closest on the hue wheel.

mcpConnect your agent — riff on Codecademy
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — direct_palette, edit_direction, check_palette, check_contrast — read-only, no key. Every direction it proposes comes with a /colors/d/… link: open it, lock what you like, paste the link back, and the agent edits rather than re-rolls.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

build a palette inspired by Codecademy for a education startup — keep the feel, change the primary, and give me the /palettes/new link

tool url/palettes/new/1c4454-2c4c5c-dc2626-ffffff-111111?lock=0

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Codecademy trademarks and logos belong to their owner. Shown for identification (nominative use); not affiliated or endorsed. Owner of this brand? Request a correction or removal →