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
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.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#0000CD
Base
#CDCD00
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#0000CD
Base
#0067CD
#6700CD
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#0000CD
Base
#CD0000
#00CD00
Two colors flanking the complement — high contrast with less tension than full complementary.
#0000CD
Base
#CD6700
#67CD00
Four colors at 90° intervals — rich variety, best when one color dominates.
#0000CD
Base
#CD0067
#CDCD00
#00CD67
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#0000CD
Base
#000034
#000081
#0000A4
#0000F6
#1B1BFF
#6767FF
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
#0000CD
Base
#0606FF
#3E3EFF
#7676FF
#AEAEFF
#E6E6FF
Ready-to-use code snippets for #0000CD. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #0000CD;
}
/* Text */
.element {
color: #0000CD;
}
/* Border */
.element {
border: 1px solid #0000CD;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#0000CD,
#CDCD00
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#0000CD,
#CDCD00
);
}
// 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);
}
How Medium Blue appears to people with different types of color vision deficiency.
#0000CD
How the color appears with full color vision.
#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.
#0000CD
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#004E4E
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#3B3B3B
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.