Mediumblue colour (#0000CD)

Mediumblue is medium a blue with hex code #0000CD, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 0, 0, 205; in HSL 240°, 100%, 40%. Use the tool to explore shades and harmonies.

✓ Runs in your browser — nothing uploaded Free, no sign-upNo watermark

How to use the Mediumblue colour

  1. The colour is pre-filled; click Explore to see all formats, shades and harmonies.
  2. Edit the value to try a variation.
  3. Copy the code you need.

Mediumblue in every format

FormatValue
HEX#0000CD
RGBrgb(0, 0, 205)
RGB (0–1)0.000, 0.000, 0.804
HSLhsl(240, 100%, 40%)
CMYK (approx.)100%, 100%, 0%, 20%
CSScolor: mediumblue;

Shades and tints of Mediumblue

Same hue and saturation, lightness from 90% to 10%:

#ccccff #9999ff #6666ff #3333ff #0000ff #0000cc #000099 #000066 #000033

Colours that go with Mediumblue

HarmonyColours
Complementary #cccc00
Triadic #cc0000 #00cc00
Analogous #6600cc #0066cc

Similar named colours

The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:

ColourHEXDifference
blue #0000ffclose
darkblue #00008bclose
navy #000080close
midnightblue #191970noticeably different
indigo #4b0082noticeably different

Accessibility

Contrast ratio of Mediumblue against white is 11.16:1 (passes WCAG AA for normal text) and against black 1.88:1 (fails). Use Mediumblue for text on white backgrounds.

Frequently asked questions

What is the hex code for Mediumblue?

#0000CD.

What is Mediumblue in RGB?

rgb(0, 0, 205).

What colour is complementary to Mediumblue?

#cccc00, directly opposite on the colour wheel.

Privacy

This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.

Last updated 2026-09-23.