graf1x

MidnightBlue and Salmon

Triadic color combination with 5.80:1 contrast ratio

#191970
#FF796C

Color Values

MidnightBlue
HEX #191970
RGB 25, 25, 112
HSL 240, 64%, 27%
Salmon
HEX #FF796C
RGB 255, 121, 108
HSL 5, 100%, 71%

Harmony: Triadic

These colors are roughly 120 degrees apart on the wheel — a triadic relationship that stays lively without clashing. Triadic schemes work best when one color dominates and the other two act as accents.

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

WCAG Contrast

5.80:1
MidnightBlue background with Salmon text
AA normal text, AAA large text

UI Preview

MidnightBlue surface

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

Salmon surface

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

Design Tokens

CSS Variables

:root {
  --color-a: #191970;
  --color-b: #FF796C;
  --color-a-rgb: 25, 25, 112;
  --color-b-rgb: 255, 121, 108;
}

JSON

{
  "name": "MidnightBlue and Salmon",
  "colors": [
    {
      "name": "MidnightBlue",
      "hex": "#191970",
      "rgb": [
        25,
        25,
        112
      ]
    },
    {
      "name": "Salmon",
      "hex": "#FF796C",
      "rgb": [
        255,
        121,
        108
      ]
    }
  ],
  "harmony": "Triadic",
  "contrastRatio": 5.8
}

Explore These Colors

Frequently Asked Questions

Do midnightblue and salmon go together?

Yes. MidnightBlue and Salmon form a triadic color combination. These colors are roughly 120 degrees apart on the wheel — a triadic relationship that stays lively without clashing. Triadic schemes work best when one color dominates and the other two act as accents. The pairing has a WCAG contrast ratio of 5.80:1, which passes AA for large text and UI components.

What is the contrast ratio between midnightblue and salmon?

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

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

MidnightBlue has the hex code #191970 and RGB values rgb(25, 25, 112). Salmon has the hex code #FF796C and RGB values rgb(255, 121, 108). You can copy these directly into CSS or use the design tokens provided on this page.