graf1x

DodgerBlue and MidnightBlue

Contrasting color combination with 4.59:1 contrast ratio

#1E90FF
#191970

Color Values

DodgerBlue
HEX #1E90FF
RGB 30, 144, 255
HSL 210, 100%, 56%
MidnightBlue
HEX #191970
RGB 25, 25, 112
HSL 240, 64%, 27%

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

WCAG Contrast

4.59:1
DodgerBlue background with MidnightBlue text
AA normal text, AAA large text

UI Preview

DodgerBlue surface

Sample text on a dodgerblue 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: #1E90FF;
  --color-b: #191970;
  --color-a-rgb: 30, 144, 255;
  --color-b-rgb: 25, 25, 112;
}

JSON

{
  "name": "DodgerBlue and MidnightBlue",
  "colors": [
    {
      "name": "DodgerBlue",
      "hex": "#1E90FF",
      "rgb": [
        30,
        144,
        255
      ]
    },
    {
      "name": "MidnightBlue",
      "hex": "#191970",
      "rgb": [
        25,
        25,
        112
      ]
    }
  ],
  "harmony": "Contrasting",
  "contrastRatio": 4.59
}

Explore These Colors

Frequently Asked Questions

Do dodgerblue and midnightblue go together?

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

What is the contrast ratio between dodgerblue and midnightblue?

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

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

DodgerBlue has the hex code #1E90FF and RGB values rgb(30, 144, 255). 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.