Huebook

Medium Blue

Medium Blue is a very dark, saturated blue-violet color with the hex code #0000CD (hue 240°, saturation 100%, lightness 40%). It is also the CSS named color mediumblue.

#0000CD
NameHEXRGBHSLCMYKOKLCH
Medium Blue#0000CD0, 0, 205240°, 100%, 40%100, 100, 0, 2038.3% 0.266 264

Contrast with white text 11.16:1, with black text 1.88:1 — use white text on Medium Blue.

mediumblue is one of the 148 named colors in CSS, with exactly this value, so color: mediumblue works in any browser without a hex code.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Medium Blue

Move the sliders to make Medium Blue lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Medium Blue
  • HEX#0000CD
  • RGBrgb(0 0 205)
  • HSLhsl(240 100% 40%)

Variations of Medium Blue

Text on Medium Blue

White textThe quick brown fox11.16:1 · AA pass · AAA pass
Black textThe quick brown fox1.88:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Medium Blue with color blindness

Normal #0000CD
Protanopia #0046D2
Deuteranopia #002FCA
Tritanopia #005577

How Medium Blue appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#CCCCFF
#8080FF
#3333FF
#0000E6
#000099
#00004D

Colors that go with Medium Blue

Six color schemes built on Medium Blue with classic harmony rules. The complementary scheme pairs it with Golden Foil (#CCCC00), the color opposite it on the color wheel.

Nearest CSS named colors

Similar medium blue colors

Questions

What is the hex code for Medium Blue?

#0000CD — RGB 0, 0, 205, HSL 240°, 100%, 40%.

Is Medium Blue a warm or cool color?

Cool — its hue sits at 240° on the color wheel.