Medium Blue color: #0000cd
The CSS keyword mediumblue is #0000cd, rgb(0, 0, 205) or hsl(240, 100%, 40%). Its codes to copy, 50–950 tint scale, harmonies and contrast on white and black.
Part of design tools.
About Medium Blue
Medium Blue is a vivid dark blue. Its hue sits at 264° in OKLCH and 240° in HSL — the two wheels are spaced differently, which is why the numbers disagree.
The keyword mediumblue comes from the X Window System color list, which SVG 1.0 adopted and CSS Color Level 3 brought to every stylesheet.
Medium Blue tint scale, 50 to 950
Eleven steps at fixed perceived lightness, in OKLCH, holding mediumblue’s own hue from end to end. The keyword itself falls closest to step 700 (#0335d6), the one outlined; step 500 is #447cff.
Harmonies built on Medium Blue
Hue angles measured in OKLCH, so every accent keeps mediumblue’s perceived lightness. Its complement is #573f00, closest to the named color darkslategray.
Complementary
Analogous
Triadic
Split-complementary
Medium Blue on white and on black
White text reads better on mediumblue (11.16:1). As a text color it is readable on a white page (11.16:1, AAA). AA asks 4.5:1 for body text and 3:1 for large text; AAA asks 7:1.
Named colors close to Medium Blue
Open mediumblue in the full tools
- Open in Color Converter — convert it to any other notation.
- Open in Palette Generator — export its scale as --mediumblue-50 … --mediumblue-950 tokens.
- Open in Color Harmonies — turn the wheel and compare OKLCH with HSL.
- Open in Contrast Checker — test it against any background, with the closest passing shade.
- Open in Color System Generator — derive a light and dark token set from it.
Or browse every named color from the color converter.