graf1x

Blue and CadetBlue

Contrasting color combination with 2.82:1 contrast ratio

#0000FF
#5F9EA0

Color Values

Blue
HEX #0000FF
RGB 0, 0, 255
HSL 240, 100%, 50%
CadetBlue
HEX #5F9EA0
RGB 95, 158, 160
HSL 182, 25%, 50%

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 Blue and CadetBlue is 58 degrees. You can explore these relationships interactively in our Color Wheel Tool.

WCAG Contrast

2.82:1
Blue background with CadetBlue text
Below AA — decorative use only

UI Preview

Blue surface

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

CadetBlue surface

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

Design Tokens

CSS Variables

:root {
  --color-a: #0000FF;
  --color-b: #5F9EA0;
  --color-a-rgb: 0, 0, 255;
  --color-b-rgb: 95, 158, 160;
}

JSON

{
  "name": "Blue and CadetBlue",
  "colors": [
    {
      "name": "Blue",
      "hex": "#0000FF",
      "rgb": [
        0,
        0,
        255
      ]
    },
    {
      "name": "CadetBlue",
      "hex": "#5F9EA0",
      "rgb": [
        95,
        158,
        160
      ]
    }
  ],
  "harmony": "Contrasting",
  "contrastRatio": 2.82
}

Explore These Colors

Frequently Asked Questions

Do blue and cadetblue go together?

Yes. Blue and CadetBlue 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 2.82:1, which is below the AA threshold for text — use it for decorative purposes rather than text readability.

What is the contrast ratio between blue and cadetblue?

The WCAG 2.1 contrast ratio between Blue (#0000FF) and CadetBlue (#5F9EA0) is 2.82:1. This ratio is below AA. Use the pairing for backgrounds, borders, and decorative elements rather than text-on-background combinations.

How do I use blue and cadetblue 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 blue and cadetblue?

Blue has the hex code #0000FF and RGB values rgb(0, 0, 255). CadetBlue has the hex code #5F9EA0 and RGB values rgb(95, 158, 160). You can copy these directly into CSS or use the design tokens provided on this page.