Facebook Color Codes

The exact blues Facebook uses today and used before, plus Messenger and Meta gradients, ready to copy.

Copy as:

CMYK values are formula conversions from sRGB, not a colour-managed profile. For print, let your printer match the hex or use the closest Pantone (2727 C is the usual stand-in for #1877F2).

Which blue is “the” Facebook blue?

There are two correct answers in 2026. Inside the product, from buttons to links to the active icon in the navigation, Facebook uses #1877F2 (RGB 24, 119, 242). The logo and app icon use a more saturated #0866FF (RGB 8, 102, 255), introduced with the February 2023 brand refresh together with a custom typeface. If you are matching a button or a link, take #1877F2; if you are placing the “f” icon on a poster, take #0866FF.

Everything older, #3B5998 and #4267B2, is the muted navy Facebook wore from 2005 until the 2019 redesign. Those are still the right codes if you are recreating something from that era, and still what half the internet quotes as “Facebook blue”, which is why so many icons in third-party sets look slightly off next to the real app.

A short history of the blue

Facebook is blue because Mark Zuckerberg is red-green colour-blind. As he told The New Yorker in 2010, blue is the richest colour for him: he can see all of it. The 2004 site launched with a dark navy header, and the wordmark settled on #3B5998, which lasted through the 2013 flat logo. The 2015 brand guidelines lightened it to #4267B2 for print and partners.

The 2019 “FB5” redesign was the big break: the navy header disappeared, pages went white on #F0F2F5, and the accent became the brighter #1877F2. Dark mode followed in 2020 with the #18191A background and #242526 cards. In 2021 the parent company became Meta with its own #0081FB blue, and in 2023 Facebook's own logo took the current electric #0866FF.

Where each colour shows up

HexNameUsed for
#1877F2Facebook bluePrimary buttons, links, Like reaction, active tab, focus rings
#166FE5Hover bluePrimary button on hover; #1B74E4 appears as a pressed/variant shade
#0866FFBrand blueLogo, app icon, marketing since 2023
#F0F2F5Light backgroundPage canvas behind white cards in light mode
#65676BSecondary textTimestamps, counts, placeholder text, inactive icons
#18191A / #242526Dark modePage background and card surface; #3A3B3C for hover and inputs
#31A24COnline greenActive-now dot on avatars and in Messenger
#E41E3FNotification redUnread badges, errors, the Angry-adjacent alert red
#F33E58 / #F7B125ReactionsLove heart; Care, Haha and Wow yellow

Messenger used a flat #0084FF icon until 2020, then a blue-purple-pink-orange gradient (#00B2FF → #006AFF → #A033FF → #FF5280 → #FF7061) that still powers the default chat bubbles and several chat themes. Meta uses #0081FB with a lighter gradient; WhatsApp is #25D366; Instagram keeps its sunset gradient (#F58529 → #DD2A7B → #8134AF → #515BD4). Use those for their own products, not for Facebook itself.

Accessibility: does white text on Facebook blue pass?

Calculated with the WCAG 2 formula, white on #1877F2 is 4.23:1. That passes AA for large text (18 pt, or 14 pt bold) and for UI components and icons, which is how Facebook uses it, but falls just short of the 4.5:1 required for small body text. The brand blue #0866FF gives 4.82:1 and passes AA for any text size. The old #3B5998 reaches 6.84:1, comfortably AA and AAA for large text.

On the interface side, secondary grey #65676B on white is 5.67:1 (AA) and dark-mode text #E4E6EB on #18191A is 14.1:1 (AAA). If you build something in Facebook's palette, keep small text in #050505 or #65676B on light surfaces and reserve the blue for buttons, links at 15 px or larger, and icons.

Frequently asked questions

The interface blue is #1877F2 (RGB 24, 119, 242). The logo blue since 2023 is #0866FF (RGB 8, 102, 255). The classic pre-2019 blue was #3B5998.
#1877F2 is RGB 24, 119, 242; HSL 214°, 89 %, 52 %; CMYK approximately 90, 51, 0, 5. Switch the format above and click any swatch to copy it.
Since February 2023 the “f” logo and app icon use #0866FF, a more saturated blue than the interface #1877F2. Before that the logo used #4267B2 (2015–2019) and #3B5998 (2005–2015).
Background #18191A, card surface #242526, hover and inputs #3A3B3C, dividers #3E4042, primary text #E4E6EB and secondary text #B0B3B8. The accent blue stays #1877F2.
Colours themselves cannot be trademarked in isolation, so using the blue is fine. Using the logo, the “f” mark or the name in a way that implies affiliation is not; Meta publishes brand guidelines for that. This site is not affiliated with Meta.
The classic Messenger blue is #0084FF. The 2020 gradient runs #00B2FF → #006AFF → #A033FF → #FF5280 → #FF7061; copy it from the Messenger section above as ready-made CSS.

More free Facebook tools

All Facebook tools →

Safe extension
Don't have «Themes for Facebook» yet?
Install it from the official Google Chrome Store™
Install Extension

Extension Not Installed

Install "Facebook Themes" from the official Chrome Web Store to add themes.

Install