Medium Blue color: hex code #0000CD
Medium Blue has the hex code #0000CD. It is a vivid blue.
In the RGB color model it is made of 0% red, 0% green and 80.4% blue (0, 0, 205).
Its hue angle is 240°, with 100% saturation and 40% lightness. For print, the CMYK equivalent is 100% cyan, 100% magenta, 0% yellow and 20% black.
You can use it in CSS with the keyword mediumblue.
White text is the more readable choice on this background (contrast 11.16:1).
Medium Blue (#0000CD) color codes
| HEX | #0000CD | |
|---|---|---|
| RGB | rgb(0, 0, 205) | |
| RGB percent | rgb(0%, 0%, 80.4%) | |
| HSL | hsl(240, 100%, 40%) | |
| HSV / HSB | hsv(240, 100%, 80%) | |
| CMYK | cmyk(100%, 100%, 0%, 20%) | |
| CIE LAB | lab(24.97, 67.18, -91.5) | |
| CIE LCH | lch(24.97, 113.51, 306.28) | |
| CIE XYZ | xyz(11.016, 4.406, 58.016) | |
| Decimal | 205 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Medium Blue, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #0000CD | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.88:1 | Fail | Fail | Fail |
| Sample text | 11.16:1 | Pass | Pass | Pass |
| #0000CD as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.16:1 | Pass | Pass | Pass |
| Sample text | 1.88:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #0000CD looks to people with the most common types of color vision deficiency.
#0046d2Protanopia
no red cones#002fcaDeuteranopia
no green cones#005577Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #0000cd; }
.text { color: #0000cd; }
.border { border: 2px solid #0000cd; }
.transparent { background-color: rgb(0 0 205 / 50%); }
.gradient { background: linear-gradient(to right, #0000cd, #6700cd); }
Similar colors
#010fccTrue Blue#3300ccBusty Blue#0011bbToo Dark Tonight#3311bbGalactic Highway#0203e2Pure Blue#1f22d2Lapis on Neptune#0000eeHyperlink Blue#150aecBurning Ultrablue
See #0000CD on its hex code page
Questions
- What color is #0000CD?
- #0000CD is a vivid blue known as Medium Blue. It belongs to the blue family of colors.
- What is the RGB value of Medium Blue?
- The RGB value is 0, 0, 205: 0 red, 0 green and 205 blue on a 0 to 255 scale.
- What is the complementary color of Medium Blue?
- The complementary color is #CDCD00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0000CD?
- White text. Black text has a contrast ratio of 1.88:1 and white text 11.16:1. WCAG asks for at least 4.5:1 for normal text.