Medium Blue (#0000CD)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
Contrast vs white: 11.16:1 — vs black: 1.88:1

Color values

  • HEX #0000CD
  • RGB rgb(0, 0, 205)
  • HSL hsl(240, 100%, 40%)
  • CMYK cmyk( 100, 100, 0, 20 )
  • Websafe #0000CC

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #0000CD based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Medium Blue
#0000CD Base
#CDCD00
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Medium Blue
#0000CD Base
#0067CD
#6700CD
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Medium Blue
#0000CD Base
#CD0000
#00CD00
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Medium Blue
#0000CD Base
#CD6700
#67CD00
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Medium Blue
#0000CD Base
#CD0067
#CDCD00
#00CD67
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Medium Blue
#0000CD Base
#000034
#000081
#0000A4
#0000F6
#1B1BFF
#6767FF
Shades & Tints

Darker shades and lighter tints of Medium Blue, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#00001A
#00003D
#000061
#000085
#0000A9
Medium Blue #0000CD Base
#0606FF
#3E3EFF
#7676FF
#AEAEFF
#E6E6FF
CSS & SCSS Snippets

Ready-to-use code snippets for #0000CD. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #0000CD;
}

/* Text */
.element {
    color: #0000CD;
}

/* Border */
.element {
    border: 1px solid #0000CD;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #0000CD,
        #CDCD00
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #0000CD,
        #CDCD00
    );
}
SCSS Variable
// SCSS variable
$medium-blue: #0000CD;

// With RGB channels (useful for rgba() usage)
$medium-blue-r: 0;
$medium-blue-g: 0;
$medium-blue-b: 205;

// Usage
.element {
    background-color: $medium-blue;
    color: rgba($medium-blue-r, $medium-blue-g, $medium-blue-b, 0.8);
}
Color Blindness Simulation

How Medium Blue appears to people with different types of color vision deficiency.

Normal Vision #0000CD How the color appears with full color vision.
Deuteranopia #0000CD Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #0000CD Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #004E4E Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #3B3B3B Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Medium Blue ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Medium Blue #0000CD Base
Zaffre #0014A8 ΔE 4.67
Blue (Pantone) #0018A8 ΔE 4.82
Bluebonnet #1C1CF0 ΔE 6.09
Blue #0000FF ΔE 6.38

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.