Medium Blue

#0000CD

Medium Blue is a blue tone at #0000CD. It sits at 240 degrees on the color wheel with 100% saturation and 40% lightness.

Color values

Where it sits

Tints and shades

9 steps, white to black
Tint 80%#CCCCF5
Tint 60%#9999EB
Tint 40%#6666E1
Tint 20%#3333D7
BaseBase#0000CD
Shade 20%#0000A4
Shade 40%#00007B
Shade 60%#000052
Shade 80%#000029

Tints mix Medium Blue with white, shades mix it with black. Use the light end for backgrounds and the dark end for text that has to stay readable.

Accessibility

WCAG contrast
Sample textThe quick brown fox jumps over the lazy dog.

On white11.16:1

Passes AAA for body text
Sample textThe quick brown fox jumps over the lazy dog.

On black1.88:1

Fails WCAG for text

Check a specific pairing in the contrast checker.

Other blue colors

12 colors, dark to light

Frequently asked

4 questions people ask about Medium Blue.

  1. 1What is the hex code for Medium Blue?

    The hex code for Medium Blue is #0000CD. In RGB that is rgb(0, 0, 205), and in HSL it is hsl(240, 100%, 40%).

  2. 2What RGB values make Medium Blue?

    Medium Blue is 0 red, 0 green, and 205 blue, written as rgb(0, 0, 205).

  3. 3Is Medium Blue readable as text on a white background?

    Medium Blue scores 11.16:1 against white. WCAG AA needs 4.5:1 for body text, so it passes.

  4. 4Is Medium Blue a valid CSS color name?

    Yes. You can write color: mediumblue directly in CSS, which every browser resolves to #0000CD.