graf1x

MidnightBlue and Peru

Split-Complementary color combination with 4.97:1 contrast ratio

#191970
#CD853F

Color Values

MidnightBlue
HEX #191970
RGB 25, 25, 112
HSL 240, 64%, 27%
Peru
HEX #CD853F
RGB 205, 133, 63
HSL 30, 59%, 53%

Harmony: Split-Complementary

This is a split-complementary pairing: one color paired with the two neighbors of its complement. It offers most of the contrast of a complementary scheme with less tension, making it easier to balance.

The hue angle between MidnightBlue and Peru is 150 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

4.97:1
MidnightBlue background with Peru text
AA normal text, AAA large text

UI Preview

MidnightBlue surface

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

Peru surface

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

Design Tokens

CSS Variables

:root {
  --color-a: #191970;
  --color-b: #CD853F;
  --color-a-rgb: 25, 25, 112;
  --color-b-rgb: 205, 133, 63;
}

JSON

{
  "name": "MidnightBlue and Peru",
  "colors": [
    {
      "name": "MidnightBlue",
      "hex": "#191970",
      "rgb": [
        25,
        25,
        112
      ]
    },
    {
      "name": "Peru",
      "hex": "#CD853F",
      "rgb": [
        205,
        133,
        63
      ]
    }
  ],
  "harmony": "Split-Complementary",
  "contrastRatio": 4.97
}

Explore These Colors

Frequently Asked Questions

Do midnightblue and peru go together?

Yes. MidnightBlue and Peru form a split-complementary color combination. This is a split-complementary pairing: one color paired with the two neighbors of its complement. It offers most of the contrast of a complementary scheme with less tension, making it easier to balance. The pairing has a WCAG contrast ratio of 4.97:1, which passes AA for large text and UI components.

What is the contrast ratio between midnightblue and peru?

The WCAG 2.1 contrast ratio between MidnightBlue (#191970) and Peru (#CD853F) is 4.97:1. This passes AA for normal text and AAA for large text.

How do I use midnightblue and peru 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. If one color is significantly darker, use it for text or structural elements and the lighter one for backgrounds. Test the result with our Contrast Checker if text is involved.

What are the hex and RGB values for midnightblue and peru?

MidnightBlue has the hex code #191970 and RGB values rgb(25, 25, 112). Peru has the hex code #CD853F and RGB values rgb(205, 133, 63). You can copy these directly into CSS or use the design tokens provided on this page.