graf1x

MidnightBlue and SteelBlue

Contrasting color combination with 3.61:1 contrast ratio

#191970
#4682B4

Color Values

MidnightBlue
HEX #191970
RGB 25, 25, 112
HSL 240, 64%, 27%
SteelBlue
HEX #4682B4
RGB 70, 130, 180
HSL 207, 44%, 49%

Harmony: Contrasting

These colors sit far enough apart on the wheel to create clear contrast without falling into a named harmony. The pairing works through difference rather than relationship, which suits designs that want variety over cohesion.

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

WCAG Contrast

3.61:1
MidnightBlue background with SteelBlue text
AA large text only

UI Preview

MidnightBlue surface

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

SteelBlue surface

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

Design Tokens

CSS Variables

:root {
  --color-a: #191970;
  --color-b: #4682B4;
  --color-a-rgb: 25, 25, 112;
  --color-b-rgb: 70, 130, 180;
}

JSON

{
  "name": "MidnightBlue and SteelBlue",
  "colors": [
    {
      "name": "MidnightBlue",
      "hex": "#191970",
      "rgb": [
        25,
        25,
        112
      ]
    },
    {
      "name": "SteelBlue",
      "hex": "#4682B4",
      "rgb": [
        70,
        130,
        180
      ]
    }
  ],
  "harmony": "Contrasting",
  "contrastRatio": 3.61
}

Explore These Colors

Frequently Asked Questions

Do midnightblue and steelblue go together?

Yes. MidnightBlue and SteelBlue form a contrasting color combination. These colors sit far enough apart on the wheel to create clear contrast without falling into a named harmony. The pairing works through difference rather than relationship, which suits designs that want variety over cohesion. The pairing has a WCAG contrast ratio of 3.61:1, which passes AA for large text but not for body text.

What is the contrast ratio between midnightblue and steelblue?

The WCAG 2.1 contrast ratio between MidnightBlue (#191970) and SteelBlue (#4682B4) is 3.61:1. This passes AA for large text (18pt+ or 14pt+ bold) but not for normal-sized body text.

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

MidnightBlue has the hex code #191970 and RGB values rgb(25, 25, 112). SteelBlue has the hex code #4682B4 and RGB values rgb(70, 130, 180). You can copy these directly into CSS or use the design tokens provided on this page.