Brand colors

MLB colors

MLB'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 MLB via the colors MCP.

Source
mlb.com
Extracted
Version
5
Verified from the live site at mlb.com on 2 September 2026 (version 5).

Role tokens

  • primary#041e42 · MLB Navy
  • secondary#bf0d3e · MLB Red
  • accent#0048c7 · Dark Blue
  • surface#ffffff · White
  • text#000000 · Black

Contrast pairs

PairRatioAAAA largeAAAFix
Aaprimary on surface
16.54:1passpasspass
Aasecondary on surface
6.28:1passpassfailAAA: secondary #b00c3b (7.09:1)
Aaaccent on surface
7.63:1passpasspass
Aatext on surface
21:1passpasspass
Aatext on primary
1.27:1failfailfailAA: text #878787 (4.6:1)
Aatext on secondary
3.34:1failpassfailAA: text #dbdbdb (4.54:1)
Aatext on accent
2.75:1failfailfailAA: text #c7c7c7 (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 · mlb-com-colors.css
:root {
  --color-primary: #041e42;
  --color-secondary: #bf0d3e;
  --color-accent: #0048c7;
  --color-surface: #ffffff;
  --color-text: #000000;
}
tailwind · theme.css
/* MLB — Tailwind v4 theme. Import after "tailwindcss". */
@theme {
  --color-primary: #041e42;
  --color-secondary: #bf0d3e;
  --color-accent: #0048c7;
  --color-surface: #ffffff;
  --color-text: #000000;
}
dtcg · mlb-com-colors.tokens.json
{
  "$description": "MLB brand colors",
  "color": {
    "primary": {
      "$type": "color",
      "$value": "#041e42"
    },
    "secondary": {
      "$type": "color",
      "$value": "#bf0d3e"
    },
    "accent": {
      "$type": "color",
      "$value": "#0048c7"
    },
    "surface": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "text": {
      "$type": "color",
      "$value": "#000000"
    }
  }
}

Similar brand palettes

Public brands whose primary sits closest on the hue wheel.

mcpConnect your agent — riff on MLB
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 MLB for a sports startup — keep the feel, change the primary, and give me the /palettes/new link

tool url/palettes/new/041e42-bf0d3e-0048c7-ffffff-000000?lock=0

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

MLB 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 →