CSS named color

Medium Blue Color Codes, Shades and Palettes

Medium Blue is #0000CD. Copy its exact codes, compare twenty computed channel steps, and build complementary, analogous, or triadic palettes.

#0000CDRGB 0, 0, 205HSL 240°, 100%, 40%

Medium Blue color codes

Every format below is calculated from #0000CD; use the buttons to copy a code exactly.

HEX#0000CD
RGBrgb(0, 0, 205)
HSLhsl(240°, 100%, 40%)
CMYKcmyk(100%, 100%, 0%, 20%)

10 shades and 10 tints of Medium Blue

These twenty steps use the original Color Lab’s channel-multiplication rule: each RGB channel is multiplied, rounded, and clamped between 0 and 255.

Darker channel steps

#000015
#000029
#00003E
#000052
#000067
#00007B
#000090
#0000A4
#0000B9
#0000CD

Lighter channel steps

#0000E2
#0000F6
#0000FF
#0000FF
#0000FF
#0000FF
#0000FF
#0000FF
#0000FF
#0000FF

Computed harmonies and palette ideas

Companion hues use the original wheel’s exact offsets at 80% saturation and 50% lightness, so the relationship stays measurable and repeatable.

Complementary

#1919E6#E6E619

Analogous

#1919E6#8019E6#1980E6

Triadic

#1919E6#E61919#19E619

How Medium Blue is calculated

Medium Blue is stored as the CSS named-color keyword “mediumblue” with the six-digit value #0000CD. Splitting that value into red, green, and blue byte pairs produces RGB 0, 0, 205. The same channels convert to HSL 240°, 100%, 40% with the picker’s max-and-min formula, and to CMYK 100%, 100%, 0%, 20% after normalizing each channel to the zero-to-one range. All displayed HSL and CMYK components are rounded to whole numbers.

The shade series is not an invented set of labels. It multiplies the original RGB channels by factors from 0.1 through 1.0. That calculation runs from #000015 at factor 0.1 to #0000CD at factor 1.0. The tint series continues the same Color Lab rule from factor 1.1 through 2.0, with clamping whenever a channel reaches 255; its last result is #0000FF. Clicking any square copies its precomputed code.

For wheel relationships, the base hue is 240 degrees. The complementary hue is 60 degrees, while the analogous companions sit 30 degrees on either side. Triadic companions are offset by 120 and 240 degrees. Like the working Color Lab wheel, those hue samples render at fixed 80% saturation and 50% lightness rather than changing Medium Blue’s own saturation or lightness.

In the full 298-name catalog, the closest distinct RGB neighbors include Blue (#0000FF), Dark Blue (#00008B), Navy (#000080), Midnight Blue (#191970). Distance is straight-line Euclidean distance between the three sRGB channel values, with equal-hex aliases excluded. Against #0000CD, black text measures 1.88:1 and white text measures 11.16:1, so white gives the stronger of those two contrast results. Check the ratio required by your specific text size before publishing.

Try Medium Blue in the Color Picker

Pick any color and instantly get HEX, RGB, HSL, and CMYK codes.

Enter a hash followed by exactly six hexadecimal digits.
HEX
RGB
HSL
CMYK
Color Shades & Tints

Frequently asked questions

What is the HEX code for Medium Blue?

Medium Blue is recorded here as #0000CD. Its RGB channels are 0, 0, 205.

What are the HSL and CMYK values for Medium Blue?

Using the Color Lab conversion math, Medium Blue converts to HSL 240°, 100%, 40% and CMYK 100%, 100%, 0%, 20%. Values are rounded to whole units.

Should Medium Blue use black or white text?

Black has a 1.88:1 contrast ratio and white has a 11.16:1 ratio against Medium Blue. The higher computed ratio is white.