Palette maker

Bavaria Flag Colors: Bavarian Blue Hex Code and RGB

The Bavarian blue hex code for the flag is , which is RGB 0, 152, 212, paired with white . It is a bright, clear azure that leans slightly toward cyan.

On this page
  1. Color codes
  2. Name confusion
  3. Official specs
  4. Close shades
  5. Look and feel
  6. History
  7. Web and UI
  8. Accessibility
  9. Print and decor
  10. Palettes
  11. FAQ

One warning before you copy anything: Bavarian law names the colors but never fixes the shade, and some color lists attach the name “Bavarian Blue” to a dark navy instead. This page explains which blue is which, so you can pick the right one for your project.

Bavarian Blue Hex Code, RGB, HSL and CMYK

The strip above gives you the official colors with copy buttons. Here are the same values in one place, all calculated from the hex so the formats agree with each other.

  • HEX:
  • RGB: 0, 152, 212
  • HSL: 197°, 100%, 42%
  • CMYK: 100, 28, 0, 17 (a simple conversion, not a press profile)
  • Commonly quoted matches: Pantone 801 C and RAL 5015

The red channel is zero, which is why this blue looks so clean. All of the color comes from the green and blue channels, with blue doing most of the work. A hue of 197° sits between pure cyan at 180° and a classic azure at 210°.

White is , or rgb(255, 255, 255), hsl(0, 0%, 100%). In print it is simply unprinted paper, CMYK 0, 0, 0, 0.

Why You Will Find More Than One Bavarian Blue

Search for the name and you will meet two different families of results. Flag pages give . Color-name lists, on the other hand, give , which is RGB 28, 51, 130, and a few others list under the same name.

A color list calls #1C3382 'Bavarian Blue'. What does that tell you about the Bavarian flag?

The name is a label from color lists, while the flag blue people usually mean is the brighter #0098D4.

Those navy values sit at a hue of about 226° and are dark and heavy. The flag blue is brighter, lighter and about 30° closer to cyan. If you are matching a flag, a beer label, a football scarf or a regional tourism logo, you almost certainly want . If you want a deep navy that happens to carry a Bavarian name, is the one, but it is a naming convention, not a state color.

Gradient bars from Bavarian flag blue to navy, with a dull direct midpoint and a clearer one fixed by an added stop
Add the federal blue #0077B6 as a midpoint stop to keep the flag blue and navy from dulling.

What Official Sources Say About the Blue

The Free State’s rules are short. Article 1 (2) of the constitution states that the colours of the state are white and blue. That is the whole specification. The flag encyclopedia notes the constitution confirmed white and blue as the state colors on 2 December 1946.

Shade guidance exists only at the edges. In 1999 the German federal government introduced a corporate design that defined its blue as RGB 0,119,182 or Pantone 307, though it is unclear whether that applies to the states. For print, one flag reference says two shades of blue are officially approved: a dark blue at CMYK 100-60-0-0 and a light blue at CMYK 100-15-0-0. In practice, flags in the street range widely: most public flags are roughly RGB 0, 204, 255, while officials use something closer to RGB 0, 128, 255.

The practical rule

Use as the everyday digital flag blue. Reach for when you need a more formal, government-style tone.

Bavarian Blue Next to Close Blues

Because the shade is flexible, it helps to see the realistic options side by side. All values below are computed from the hex.

Shade Hex RGB HSL Where you meet it
Bavarian Blue 0, 152, 212 197°, 100%, 42% Common flag blue
Federal blue 0, 119, 182 201°, 100%, 36% German federal design
Official-style blue 0, 128, 255 210°, 100%, 50% Government flag use
Public flag blue 0, 204, 255 192°, 100%, 50% Street and souvenir flags
Navy name-list blue 28, 51, 130 226°, 65%, 31% Color-name databases

is the sensible middle. It is more saturated and lighter than the federal blue, calmer than the electric , and much deeper than the almost neon .

Other blue and white flags help calibrate your eye. The Israel flag colors page shows a far deeper, more royal blue on white, while the Miami Dolphins colors lean greener and into aqua. Bavarian blue sits in the clear sky range between them.

What Bavarian Blue Looks Like in Practice

On screen, reads as open sky or a clean alpine lake: bright without being loud, cool without feeling cold. Against white it looks crisp and fresh, which is exactly why the pairing works so well on flags, tablecloths and bunting. Against black or charcoal it glows.

It is not a navy and not a baby blue. It has full saturation but only middling lightness, so it holds its own as a main color and still lets white do the breathing. If you want a bluer, deeper cousin, try the dark blue gradient range. If you want more green in the mix, the emerald blue page has that direction covered.

Try this: Place a swatch and a swatch side by side on a white page, then squint. The first reads as sky, the second as night. Decide which mood your project needs before you pick a hex.

The History Behind White and Blue

White and blue come from the Wittelsbach dynasty, which ruled Bavaria from 1180 to 1918. One source puts it this way: blue and white have been Bavarian colors since 1330, and the lozenge shapes first appeared on banners in the 15th century. The sky and lakes story is popular and pretty, but the dynasty is the documented origin.

There are two equal state flags. One is the striped type and the other is the lozenge type, both white and blue. The lozenge flag has at least 21 lozenges, and the incomplete top left one must be white. Flags with the coat of arms added are not part of the official pair, though they are common. The Bavarian anthem even mentions the colors of heaven, white and blue.

Outside government, the same palette turned up in brands and festivals. BMW’s roundel borrows the state colors, and the blue and white diamond pattern covers beer tents, bunting and tablecloths every autumn.

Using Bavarian Blue in Web and UI Design

Treat as a brand and accent color: links on dark backgrounds, icons, charts, badges, big headings and illustration fills. It is bright enough to catch the eye and distinctive enough to feel regional. It is less suited to small text on white, which the next section explains.

A simple token setup keeps the flag color consistent:

:root {
  --bavaria-blue: #0098D4;
  --bavaria-blue-deep: #00729F;
  --bavaria-blue-tint: #CCEAF6;
  --bavaria-white: #FFFFFF;
}

.flag-stripes {
  background: linear-gradient(#FFFFFF 50%, #0098D4 50%);
}

The stripe version matches the official bicolor of white over blue. For a lozenge look, tile a checker with conic-gradient(#0098D4 25%, #FFFFFF 0 50%, #0098D4 0 75%, #FFFFFF 0) and rotate the element 45 degrees. The tint is 20% of the blue mixed with white, handy for backgrounds and hover states.

Contrast and WCAG: Where This Blue Needs Help

I computed the contrast ratios from the relative luminance of each color. has a luminance of about 0.272, which gives these results:

  • White text on : 3.26:1, which fails AA for normal text (4.5:1) but passes for large text and UI components (3:1)
  • Black text on : 6.44:1, which passes AA for normal text
  • White text on : 4.87:1, a pass for normal text
  • White text on : 5.37:1, a comfortable pass

On a client dashboard I once shipped white button labels on because they looked great on a calibrated monitor. An accessibility audit flagged them, and the fix was to darken the button fill to , keeping the brand blue for icons and large headings. The design barely changed and the labels became readable in sunlight.

White body text on #0098D4 has a contrast ratio of about 3.26:1. What should you do?

WCAG AA asks for 4.5:1 on normal text, so this pairing only suits large text and graphics unless you darken the blue.

Going the other way, with white text is only about 1.9:1, so avoid that pairing for anything you need people to read. Pair bright blues with dark text instead.

Seven-step ladder from tint to shade of Bavarian blue #0098D4 showing where text flips from dark to white
White text fails on Bavarian blue at 3.26:1, so step down to #00729F for 5.37:1.

Screen blues like can shift in print. The naive CMYK is 100, 28, 0, 17, but a press will rarely match the glow of a backlit display. On a label job for a regional brewery, the first proof came back slightly duller than the screen file, and we solved it by specifying a spot ink and checking a physical swatch instead of trusting the on-screen color. Always ask for a proof.

In interiors, use the blue as a clear accent: a feature wall, ceramic tiles, painted shutters or a single armchair. It pairs naturally with white trim, which echoes the flag, and with a warm neutral like light beige so the room does not turn icy. Take the hex to a paint shop as a starting point only, and compare against a painted sample in your own light.

In fashion, blue and white checks are the traditional language of Bavarian festival wear, from aprons to shirts. For a modern take, go with one blue piece and keep the rest white, denim or leather brown. A touch of wine red adds a festive, autumn accent without competing.

Palettes That Pair Well With Bavarian Blue

The palettes below keep as the anchor. Each one trades a few supporting colors depending on whether you want a clean digital look, a warm rustic one, or a formal heritage tone.

Alpine Lake

Clean web and app interfaces, travel sites and calm editorial layouts.

Beer Garden

Menus, event posters and packaging with a warm, rustic Bavarian feel.

Wittelsbach Court

Formal invitations, certificates and heritage branding with a royal tone.

Meadow Morning

Outdoor brands, interiors and fashion that borrow the green of the foothills.

Notice how often white leads the combination. In Bavarian design, white is not empty space but the second state color, so give it equal weight in layouts. If you are building more blue and white schemes from other regions, the New York State flag colors and Philippines flag colors pages offer deeper blues to compare against.

The official colors and what they stand for

Bavaria Flag Colors: questions people ask

What is the hex code for Bavarian blue?

The widely used flag blue is #0098D4, which is RGB 0, 152, 212. Some color-name lists attach the name to a dark navy such as #1C3382, but that is not the bright blue of the Bavarian flag.

What are the official colors of the Bavarian flag?

The state colors are white and blue, set out in the Bavarian constitution. The law does not fix an exact shade, so hex, RGB and Pantone values are practical conventions rather than legal specifications.

What is the RGB value of Bavarian blue?

For #0098D4 the RGB value is 0, 152, 212, or rgb(0, 152, 212) in CSS. The HSL equivalent is hsl(197, 100%, 42%).

Is Bavarian blue the same as the blue in the BMW logo?

BMW's roundel uses the white and blue of the Bavarian state colors, but BMW sets its own brand shades. For an exact match, use the brand's own guidelines rather than the flag blue.

Can I use white text on Bavarian blue?

Only for large text or graphics. White on #0098D4 measures about 3.26:1, below the 4.5:1 that WCAG AA asks for on normal text, so darken the blue to something like #00729F for small copy.

Keep exploring