MLB's color identity is defined by a deep navy blue, accented by red and white, reflecting its American heritage and tradition. The palette is consistent across digital, print, and on-field applications.
mlb.comClick any swatch to copy its hex. Hover for RGB and HSL.
Pick a format, copy or download. Everything below is generated from the exact hex values above.
:root {
--info: #0072CE;
--error: #BA0C2F;
--accent: #FFFFFF;
--border: #C4C6CC;
--primary: #041E42;
--success: #00843D;
--surface: #E5E6EA;
--warning: #FFB81C;
--secondary: #BA0C2F;
--text-muted: #A7A9AC;
--background: #F5F6FA;
--text-primary: #041E42;
--text-secondary: #6C707A;
}Every text tone tested against every surface, per WCAG 2.1.
Text on background
Needs 4.5:1 for body text
15.3:1
Pass
Text on surface
Needs 4.5:1 for body text
13.3:1
Pass
Secondary text on background
Needs 4.5:1 for body text
4.6:1
Pass
Secondary text on surface
Needs 4.5:1 for body text
4.0:1
Fail
Muted text on background
Needs 3:1 for large text
2.2:1
Fail
Muted text on surface
Needs 3:1 for large text
1.9:1
Fail
The quiet part of the MLB palette: page background, card surfaces, dividers and the three text tones that sit on them. Click a value to copy it.
MLB's palette is built on a classic triad of navy, red, and white, evoking tradition and clarity. The supporting grays provide a neutral foundation for digital and print environments.
Primary navy is contrasted by vibrant red accents.
White is used for clarity and separation.
Grays support UI elements and backgrounds.
Navy blue conveys trust, authority, and stability, aligning with MLB's legacy. Red adds energy and excitement, while white ensures readability and balance.
MLB's core colors have remained consistent for decades, reinforcing brand recognition. The introduction of modern grays and UI tones has adapted the palette for digital use.
Used for the MLB logo, navigation bars, and primary buttons.
Appears in call-to-action buttons, highlights, and logo details.
Used for backgrounds, text, and as a contrast in the logo.
Light gray backgrounds are used in web and app interfaces.
Navy and gray tones are used for primary and secondary text throughout MLB's digital platforms.
Green, yellow, and red are used for status indicators and alerts in digital products.
Hex codes, RGB values, neutrals and how to use the palette.
The official MLB primary color is MLB Navy Blue, with the hex code #041E42.
MLB Navy Blue (#041E42) is RGB(4, 30, 66) and CMYK(100, 90, 13, 68).
MLB uses several grays: MLB Light Gray (#F5F6FA), MLB Surface Gray (#E5E6EA), MLB Border Gray (#C4C6CC), and MLB Secondary Gray (#6C707A) for backgrounds, surfaces, and text.
Use MLB Navy Blue (#041E42) for primary elements, MLB Red (#BA0C2F) for accents and calls to action, and the gray tones for backgrounds and supporting UI. Maintain strong contrast for accessibility and brand consistency.
The secondary color is MLB Red, #BA0C2F, and the accent is MLB White, #FFFFFF. Together with the primary they make up the three brand colors at the top of this page.
3 of 6 text and background pairings meet WCAG 2.1 AA contrast. The contrast section above shows every pairing with its exact ratio.
Use the export block on this page. It gives you CSS custom properties, a Tailwind config, W3C design tokens or a shadcn/ui theme built from these exact hex values, with copy and download buttons.
Yes. Export the Claude Code skill, Cursor rules or Codex prompt from the same block. The agent then applies MLB's colors consistently when it generates UI.
Start from this palette's mood and get an original 13-color system for your own project, contrast-checked and ready to export.
More free tools