Medium Blue color #0000CD
Medium Blue is one of the CSS named colors (keyword mediumblue) with the hex code #0000CD — RGB 0, 0, 205, HSL 240°, 100%, 40%.
#0000CDMedium Blue
Color codes
- HEX
#0000CD- RGB
rgb(0, 0, 205)- HSL
hsl(240, 100%, 40%)- CMYK
100%, 100%, 0%, 20%- OKLCH
oklch(38.3% 0.266 264.1)- CSS keyword
mediumblue
Tints and shades
#F0F5FF#C8DBFF#A0BFFF#77A3FF#4F84FF#2561FF#043CEF#0025C2#001690#000067#000037
Color harmonies
Complementary
#0000CD#573F00
Analogous
#004967#0000CD#5100A5
Triadic
#0000CD#830013#00530B
Split complementary
#0000CD#693200#434800
Tetradic
#0000CD#7C0049#573F00#005040
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Medium Blue text on white | 11.16 : 1 | 92 | AAA — any text |
| Medium Blue text on black | 1.88 : 1 | -10 | Fails for text |
| White text on Medium Blue | 11.16 : 1 | -97 | AAA — any text |
| Black text on Medium Blue | 1.88 : 1 | 12 | Fails for text |
Frequently asked questions
What is the hex code of Medium Blue?
Medium Blue has the hex code #0000CD, which is RGB 0, 0, 205 and HSL 240°, 100%, 40%.
Which text color reads best on Medium Blue?
White text: contrast 11.16 : 1 (black text: 1.88 : 1).
Which colors go well with Medium Blue?
Its complementary color is #573F00; analogous colors are #004967 and #5100A5; a triadic set adds #830013 and #00530B.
Similar colors
- Pure Blue #0203E2
- Ultramarine #2000B1
- Cobalt Blue #030AA7
- Indigo Blue #3A18B1
- Blue #0000FF
- Sapphire #2138AB
- Blue Blue #2242C7
- Royal #0C1793
- Vivid Blue #152EFF
- Violet Blue #510AC9
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)