Mediumblue — #0000CD
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Mediumblue values in every format
| CSS name | mediumblue |
|---|---|
| HEX | #0000CD |
| RGB | rgb(0, 0, 205) |
| RGB % | 0%, 0%, 80% |
| HSL | hsl(240, 100%, 40%) |
| HSV / HSB | 240°, 100%, 80% |
| CMYK (print) | 100%, 100%, 0%, 20% |
| Relative luminance | 0.044 |
| Contrast on black | 1.88 : 1 |
| Contrast on white | 11.16 : 1 |
| Best text colour on it | White (11.16 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Mediumblue (50–950)
50 #F0F0FF100 #DBDBFF200 #ADADFF300 #7070FF400 #2929FF500 #0000EB600 #0000BD700 #000094800 #000070900 #00004C950 #00002E
The scale keeps Mediumblue's hue (240°) and saturation (100%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Mediumblue
Complementary: #0000CD#CDCD00
Analogous: #0066CD#0000CD#6600CD
Triadic: #0000CD#CD0000#00CD00
Split-complementary: #0000CD#CD6600#67CD00
Square: #0000CD#CD0067#CDCD00#00CD67
Computed by rotating the hue wheel from 240°. Try them live in the Colour Harmony Generator.
Closest named colours
blue (#0000FF) · darkblue (#00008B) · navy (#000080)
Using Mediumblue well
Mediumblue sits in the blue family at 40% lightness — a mid-tone, vivid, cool colour. As a background it pairs best with white text (11.16:1 contrast). Its complement (#CDCD00) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#0066CD, #6600CD) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Mediumblue is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Mediumblue?
#0000CD — the CSS named colour “mediumblue”. Its RGB is (0, 0, 205).
Is Mediumblue good for text or backgrounds?
As a background, white text reads best on it (11.16:1). As text itself on white it reaches 11.16:1 — enough for WCAG AA normal text.
What colours go with Mediumblue?
Its complement #CDCD00 for contrast, analogous #0066CD and #6600CD for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Mediumblue in CMYK for printing?
C100 M100 Y0 K20. CMYK conversions of screen colours are a starting point — always proof before a print run.