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
| HEX | #0000cd |
| RGB | rgb(0, 0, 205) |
| HSL | hsl(240, 100%, 40%) |
Harmonies
Complementary
#cccc00Analogous
#0066cc#6600ccTriadic
#cc0000#00cc00Split complementary
#cc6600#66cc00Tints & shades
#0000ad#0000bd#0000cc#0000db#0000ebAccessibility
| vs #ffffff | 11.16:1 |
| vs #000000 | 1.88:1 |
| Suggested text color | #ffffff · 11.16:1 · WCAG AAA |
Similar named colors
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.