graf1x

Olive and RoyalBlue

Complementary color combination with 1.16:1 contrast ratio

#808010
#4169E1

Color Values

Olive
HEX #808010
RGB 128, 128, 16
HSL 60, 78%, 28%
RoyalBlue
HEX #4169E1
RGB 65, 105, 225
HSL 225, 73%, 57%

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 Olive and RoyalBlue is 165 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

1.16:1
Olive background with RoyalBlue text
Below AA — decorative use only

UI Preview

Olive surface

Sample text on a olive background demonstrates readability and visual hierarchy.

RoyalBlue surface

Sample text on a royalblue background demonstrates readability and visual hierarchy.

Design Tokens

CSS Variables

:root {
  --color-a: #808010;
  --color-b: #4169E1;
  --color-a-rgb: 128, 128, 16;
  --color-b-rgb: 65, 105, 225;
}

JSON

{
  "name": "Olive and RoyalBlue",
  "colors": [
    {
      "name": "Olive",
      "hex": "#808010",
      "rgb": [
        128,
        128,
        16
      ]
    },
    {
      "name": "RoyalBlue",
      "hex": "#4169E1",
      "rgb": [
        65,
        105,
        225
      ]
    }
  ],
  "harmony": "Complementary",
  "contrastRatio": 1.16
}

Explore These Colors

Frequently Asked Questions

Do olive and royalblue go together?

Yes. Olive and RoyalBlue 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 1.16:1, which is below the AA threshold for text — use it for decorative purposes rather than text readability.

What is the contrast ratio between olive and royalblue?

The WCAG 2.1 contrast ratio between Olive (#808010) and RoyalBlue (#4169E1) is 1.16:1. This ratio is below AA. Use the pairing for backgrounds, borders, and decorative elements rather than text-on-background combinations.

How do I use olive and royalblue 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 olive and royalblue?

Olive has the hex code #808010 and RGB values rgb(128, 128, 16). RoyalBlue has the hex code #4169E1 and RGB values rgb(65, 105, 225). You can copy these directly into CSS or use the design tokens provided on this page.