Blue and Gold
Complementary color combination with 6.13:1 contrast ratio
Color Values
#0000FF0, 0, 255240, 100%, 50%#FFD700255, 215, 051, 100%, 50%Harmony: Complementary
These colors sit opposite each other on the wheel, producing maximum visual contrast. Complementary pairings are vibrant and attention-grabbing, but a 70/30 split keeps them from shouting.
The hue angle between Blue and Gold is 171 degrees. You can explore these relationships interactively in our Color Wheel Tool.
WCAG Contrast
UI Preview
Blue surface
Sample text on a blue background demonstrates readability and visual hierarchy.
Gold surface
Sample text on a gold background demonstrates readability and visual hierarchy.
Design Tokens
CSS Variables
:root {
--color-a: #0000FF;
--color-b: #FFD700;
--color-a-rgb: 0, 0, 255;
--color-b-rgb: 255, 215, 0;
}JSON
{
"name": "Blue and Gold",
"colors": [
{
"name": "Blue",
"hex": "#0000FF",
"rgb": [
0,
0,
255
]
},
{
"name": "Gold",
"hex": "#FFD700",
"rgb": [
255,
215,
0
]
}
],
"harmony": "Complementary",
"contrastRatio": 6.13
}Related Combinations
Frequently Asked Questions
Do blue and gold go together?
Yes. Blue and Gold form a complementary color combination. These colors sit opposite each other on the wheel, producing maximum visual contrast. Complementary pairings are vibrant and attention-grabbing, but a 70/30 split keeps them from shouting. The pairing has a WCAG contrast ratio of 6.13:1, which passes AA for large text and UI components.
What is the contrast ratio between blue and gold?
The WCAG 2.1 contrast ratio between Blue (#0000FF) and Gold (#FFD700) is 6.13:1. This passes AA for normal text and AAA for large text.
How do I use blue and gold in design?
A safe starting point is the 60/30/10 rule: give one color about 60 percent of the surface area, the other about 30 percent, and reserve the remaining 10 percent for an accent or neutral. Since these are complementary colors, lean toward a 70/25/5 split to keep the contrast from becoming overwhelming. Test the result with our Contrast Checker if text is involved.
What are the hex and RGB values for blue and gold?
Blue has the hex code #0000FF and RGB values rgb(0, 0, 255). Gold has the hex code #FFD700 and RGB values rgb(255, 215, 0). You can copy these directly into CSS or use the design tokens provided on this page.