mediumblue mediumblue #0000cd

mediumblue is #0000cd in hexadecimal, rgb(0, 0, 205) in decimal and hsl(240, 100, 40) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.

HEX · RGB · HSL

#0000cd
HEX#0000cd
RGBrgb(0, 0, 205)
HSLhsl(240, 100%, 40%)

Harmonies

Complementary

#cccc00

Analogous

#0066cc#6600cc

Triadic

#cc0000#00cc00

Split complementary

#cc6600#66cc00

Tints & shades

#0000ad#0000bd#0000cc#0000db#0000eb

Accessibility

vs #ffffff11.16:1
vs #0000001.88:1
Suggested text color#ffffff · 11.16:1 · WCAG AAA

Similar named colors

blue#0000ffdarkblue#00008bnavy#000080midnightblue#191970indigo#4b0082darkslateblue#483d8b

FAQ

What is the HEX code for mediumblue?

mediumblue is #0000cd in hex, rgb(0, 0, 205) in decimal and hsl(240, 100%, 40%) in HSL. In CSS you can write either color: mediumblue; or color: #0000cd; — they are equivalent.

What colors go with mediumblue?

The complementary #cccc00 gives the strongest contrast, the analogous pair #0066cc / #6600cc is the safest, and the triad #cc0000 / #00cc00 adds more tension. All three are derived from the 240° hue of #0000cd.

Does #0000cd read better on white or black?

Its contrast is 11.16:1 against white and 1.88:1 against black. Use #ffffff text on it — that gives 11.16:1, which meets WCAG AAA.

Is a named color different from a hex color?

No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.

← All named colors