On this page
The strip above shows both colors with copyable codes, and the live preview tests them as background, text and button with a contrast score. Below you will find exact color values, the reason this pair vibrates, real contrast ratios, shades that behave, and how to use the combination in web, print, interiors and fashion.
Red and Blue Hex, RGB, HSL and CMYK Values
Red is RGB 255, 0, 0 with a hue of 0 degrees, full saturation and 50% lightness. Blue is RGB 0, 0, 255 with a hue of 240 degrees, also at 100% saturation and 50% lightness. Both sit at the extreme edge of what a screen can display, which is why they feel electric and why they are hard to print faithfully.
The table adds the four shades I reach for most often. CMYK figures are straight mathematical conversions, so treat them as a starting point rather than a press-ready recipe.
| Color | HEX | RGB | HSL | CMYK |
|---|---|---|---|---|
| Red | 255, 0, 0 | 0°, 100%, 50% | 0, 100, 100, 0 | |
| Blue | 0, 0, 255 | 240°, 100%, 50% | 100, 100, 0, 0 | |
| Navy | 0, 0, 128 | 240°, 100%, 25% | 100, 100, 0, 50 | |
| Firebrick | 178, 34, 34 | 0°, 68%, 42% | 0, 81, 81, 30 | |
| Royal blue | 65, 105, 225 | 225°, 73%, 57% | 71, 53, 0, 12 |
Notice the geometry: 0 and 240 degrees are a third of the color wheel apart, so red and blue are not complementary. Red’s true opposite is cyan , and blue’s is yellow . That distance is exactly why red and blue feel tense rather than naturally balanced.
Why Pure Red and Blue Vibrate When They Touch
Place next to and the border seems to shimmer. This is a known optical effect called chromostereopsis: the eye focuses red and blue light slightly differently, so red tends to float forward and blue tends to sink back. Thin text and fine stripes make it worse.
Patriotic flyers, campaign graphics and event banners with a clean white field.
Pure red and pure blue shimmer where they meet. What is the most reliable fix?
The shimmer comes from two saturated hues at the same lightness, so a neutral buffer or a lightness shift calms the edge.
Brand sites, editorial layouts and packaging that need confidence without shouting.
Bold posters, kids' products and playful event graphics with a yellow spark.
Gentle interiors, baby goods and relaxed lifestyle brands with a warm cream.
Both colors also share the same saturation and lightness values in HSL, which hides the real difference: blue is far darker to the eye than red. Their equal intensity on paper but unequal weight in perception is what makes the pair feel unstable.
The fixes are simple. Darken the blue, soften the red, or put a thin neutral line between them. On a conference poster I once rescued, swapping the blue to and adding a white rule between the panels stopped the shimmer immediately, with no other change.
Contrast and WCAG: Can You Read Red on Blue?
No, not comfortably. I computed the WCAG contrast ratio for against and it comes to 2.15:1. AA needs 4.5:1 for normal text and 3:1 for large text and interface components, so the pair fails both. Here are the other ratios you are likely to need:
- White on red : about 4.0:1, fine for large text only
- White on blue : about 8.59:1, passes AA and AAA for normal text
- Black on red : about 5.25:1
- Blue on black: about 2.44:1, a common dark mode mistake
- Navy with white text: about 16:1
The rule is that red and blue should never carry text for each other. Use white or a light neutral on either one. On a client dashboard I once found red error messages sitting on a navy panel at 4.0:1. We lightened the red and added an icon, so the message no longer relied on color alone.
Which pairing is safest for small body text?
White on navy is around 16:1, while the other two pairings land at 2.15:1 and 2.44:1, far below the 4.5:1 AA minimum.
Red and blue are generally easier to tell apart than red and green for most color-vision differences, but pair them with labels or icons anyway.

Shades of Red and Blue That Sit Well Together
The pairing improves when both colors have the same “depth.” For a serious, premium feel, match deep with deep: firebrick with navy , or burgundy with midnight . For something livelier, try crimson with royal blue , which keeps energy without the buzz.
For soft results, go pastel. Light red with sky blue feels gentle and works for nurseries and lifestyle brands, and our light red color page has more tints to choose from. If you lean toward the pink side of red, the pink and blue palettes show how far that direction can go.
Undertone matters too. A red that leans orange, like scarlet , fights blue harder because the two sit so far apart. A red that leans toward blue, like crimson or burgundy, shares some undertone with the blue and blends easily. Halfway between pure red and pure blue is purple , and the pink and purple combinations pick up where that bridge begins.
Using Red and Blue in Web and UI Design
Give each color a job. Blue is the safe primary: links, main buttons, navigation. Red is the signal: errors, sale tags, destructive actions. When both try to be the hero, the page feels noisy, so I usually keep blue as the main accent and let red appear in under a tenth of the layout.
Here is a small token set that keeps contrast solid:
:root {
--red: #B22222; /* white text: about 6.7:1 */
--navy: #0A3161; /* white text: about 12.9:1 */
--blue: #4169E1;
--paper: #F8F4EC;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
In dark mode, lift the blue. Pure on near-black is hard to read, so move to a lighter blue such as for links and icons. Do the same with red: a softened coral red reads better than on dark surfaces.
Red, White and Blue: Flags, Teams and Brands
Red and blue are most famous as a trio with white. The U.S. State Department names the flag’s shades Old Glory Red and Old Glory Blue, with commonly published values of and . The colors are not defined in the U.S. Code, which sets only proportions, and digital values vary between sources. That is why you will see different hex codes for the same flag.
White does the heavy lifting in these designs by separating the two colors so they cannot vibrate. The same idea shows up in the Union Jack and the French tricolour, in football kits such as FC Barcelona and Paris Saint-Germain, and in logos like Pepsi’s. If you prefer to swap the blue for black, the red, white and black scheme has the tougher, more modern version.
Red and Blue in Interiors, Fashion and Art
In a room, let blue be the large surface and red the small punctuation. A navy wall or sofa with a red rug, a burgundy armchair or a few red books reads as confident and calm at once. Warm wood and brass soften the combination further. For a lighter, nautical take, look at the beach color palettes, where red works like a buoy against sea blues.
In fashion, the navy blazer with a red tie or red shoes is a classic for a reason: dark blue acts almost like a neutral, so red can be loud without causing trouble. Denim with a red top works the same way. Avoid wearing pure red and pure royal blue in equal amounts, which tends to look like a costume.
Art has always used the pair. Piet Mondrian’s famous grids used red, blue and yellow with white and black, and the success of those paintings depends on proportion: big white fields, small color blocks, thick black lines to keep everything apart.
Printing Red and Blue Without Nasty Surprises
Pure screen red and blue are outside what CMYK ink can reproduce. Converted, often lands near a slightly duller red like , and often shifts toward a deeper, purpler blue near . Exact results depend on the paper and color profile.
Choose your reds and blues in CMYK from the start, or specify a Pantone spot ink for brand colors, and always ask for a proof.
On one packaging job, the blue on the proof came back noticeably more violet than on my monitor, and the client noticed instantly. We adjusted the blue’s cyan and lowered the magenta, and the second proof matched. Deeper shades like navy and firebrick convert far more predictably than the pure primaries.
Adding a Third Color: Neutrals, Yellow and Purple
A neutral is the easiest upgrade. Warm off-white gives a softer page than pure white, cool gray suits borders and quiet text, and black adds a graphic, poster-like punch. Any of these gives the eye a place to rest between two strong colors.

Yellow completes the primary triad and brings playfulness, like toy packaging and school branding. Our yellow and blue color scheme page shows how that side of the triangle works. For a moodier effect, let red and blue melt toward violet, the way they do in a twilight sky, where the transition between them becomes the feature rather than the problem.
A Simple Method for Balancing Red and Blue
When a red and blue layout feels off, run through these steps in order:
- Pick which color leads and give it roughly two thirds of the colored area.
- Darken the blue or soften the red so neither is at pure saturation.
- Add a neutral background and use it for most text.
- Check contrast on every text and button pairing before you move on.
Most red and blue problems come from equal weight. When both colors fight for attention, the design feels loud; when one leads and the other supports, the same two colors suddenly look deliberate.
Try this: Take and , then replace them with and . Put both on a background and compare the two versions side by side.
Shades that keep this combination working
Red and Blue Color Palette: questions people ask
What are the hex codes for red and blue?
Pure red is #FF0000 and pure blue is #0000FF. For everyday design, deeper versions such as firebrick #B22222 and navy #000080 are easier on the eye and easier to read.
What color do red and blue make?
Mixed as light on a screen, red and blue make magenta (#FF00FF). Averaged in RGB you get purple (#800080), and with paint or ink the result depends on the pigments, but it is usually a purple or a muted violet.
Are red and blue complementary colors?
No. Red sits at 0 degrees on the HSL wheel and blue at 240 degrees, so they are 120 degrees apart. Red's complement is cyan and blue's complement is yellow.
What third color goes with red and blue?
White is the classic choice, and a warm off-white like #F8F4EC feels softer. Cool gray, black or a small touch of yellow also work, depending on how playful or serious you want the result.
Is red and blue accessible for text?
Not as a text and background pair: #FF0000 on #0000FF scores only 2.15:1, well under the WCAG AA minimum of 4.5:1. Use white or a very light neutral on either color instead.
Keep exploring
- Orange and Black Color Scheme: Palettes and Hex Codes
- Blue and Black Color Combination: Palettes and Hex Codes
- Black and Grey Color Combination: Palettes and Hex Codes
- Orange and Brown Color Combination: Palettes and Hex Codes
- Brown and Black Color Palette: Combinations and Hex Codes
- Purple and Gold Color Palette: Combinations and Hex Codes
- Honey Blonde Color: Hex Code, RGB and Palettes
- Light Green Color: Hex Code, RGB and Palettes