graf1x

Khaki and MidnightBlue

Split-Complementary color combination with 7.03:1 contrast ratio

#C3B091
#191970

Color Values

Khaki
HEX #C3B091
RGB 195, 176, 145
HSL 37, 29%, 67%
MidnightBlue
HEX #191970
RGB 25, 25, 112
HSL 240, 64%, 27%

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 Khaki and MidnightBlue is 157 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

7.03:1
Khaki background with MidnightBlue text
AAA all sizes

UI Preview

Khaki surface

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

MidnightBlue surface

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

Design Tokens

CSS Variables

:root {
  --color-a: #C3B091;
  --color-b: #191970;
  --color-a-rgb: 195, 176, 145;
  --color-b-rgb: 25, 25, 112;
}

JSON

{
  "name": "Khaki and MidnightBlue",
  "colors": [
    {
      "name": "Khaki",
      "hex": "#C3B091",
      "rgb": [
        195,
        176,
        145
      ]
    },
    {
      "name": "MidnightBlue",
      "hex": "#191970",
      "rgb": [
        25,
        25,
        112
      ]
    }
  ],
  "harmony": "Split-Complementary",
  "contrastRatio": 7.03
}

Explore These Colors

Frequently Asked Questions

Do khaki and midnightblue go together?

Yes. Khaki and MidnightBlue 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 7.03:1, which passes AA for large text and UI components.

What is the contrast ratio between khaki and midnightblue?

The WCAG 2.1 contrast ratio between Khaki (#C3B091) and MidnightBlue (#191970) is 7.03:1. This passes AAA for all text sizes.

How do I use khaki and midnightblue 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 khaki and midnightblue?

Khaki has the hex code #C3B091 and RGB values rgb(195, 176, 145). MidnightBlue has the hex code #191970 and RGB values rgb(25, 25, 112). You can copy these directly into CSS or use the design tokens provided on this page.