Medium Blue
#0000CDrgb(0, 0, 205)hsl(240, 100%, 40%)
Medium Blue is #0000CD, rgb(0, 0, 205).
In CSS: mediumblue
Colors that go with Medium Blue
Complementary
Analogous
Triadic
1 of 2 backgrounds pass AA
- On whitePass11.16 : 1
- On ink blackFail1.71 : 1
About Medium Blue
Medium Blue is the hex color #0000CD, which translates to rgb(0, 0, 205) in RGB and hsl(240, 100%, 40%) in HSL. On the color wheel it sits at 240 degrees, with a saturation of 100 percent and a lightness of 40 percent. Its OKLCH chroma of 0.266 is high, so Medium Blue is one of the more vivid blue tones here and is easy to overuse at large sizes.
How Medium Blue compares
Medium Blue is exactly the CSS keyword mediumblue, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is violet-700 (#7008E7), at a distance of 15.4. Inside this library the closest neighbour is Electric Violet at 21.0. Sorted by lightness, Medium Blue is number 9 of the 30 blue colors here.
Text on Medium Blue
2 of the five common text colors below clear WCAG AA for normal text on Medium Blue, led by White at 11.16:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Medium Blue already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 11.16:1 | Pass | Pass | Pass |
| Ink black #0F0F12 | 1.71:1 | Fail | Fail | Fail |
| Mid grey #6B7280 | 2.31:1 | Fail | Fail | Fail |
| Dark grey #374151 | 1.08:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 9.01:1 | Pass | Pass | Pass |
Building a palette around Medium Blue
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Medium Blue for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Medium Blue locked and let it fill in the rest.
Full values for Medium Blue
| Format | Value |
|---|---|
| HEX | #0000CD |
| RGB | rgb(0, 0, 205) |
| HSL | hsl(240, 100%, 40%) |
| HSV | hsv(240, 100%, 80%) |
| CMYK | cmyk(100%, 100%, 0%, 20%) |
| OKLCH | oklch(38.35% 0.2657 264.05) |
| CIELAB | lab(24.97 67.18 -91.50) |
Frequently asked questions
What is the RGB value of Medium Blue?
Medium Blue (#0000CD) is rgb(0, 0, 205): 0 red, 0 green and 205 blue on the 0 to 255 scale. Blue leads at 205 while red and green both sit at 0, which puts the hue at 240 degrees. In HSL the same color is hsl(240, 100%, 40%).
What colour is #0000CD?
#0000CD is Medium Blue, a mid blue colour with a hue of 240 degrees, 100% saturation and 40% lightness. For print the CMYK breakdown is 100% cyan, 100% magenta, 0% yellow and 20% black. Its nearest neighbour in this library is Electric Violet, 21.0 away in CIELAB, a difference you can see.
Is Medium Blue a CSS color name?
Yes. The keyword mediumblue is one of the 148 named colors in CSS Color Module Level 4, so color: mediumblue; renders exactly #0000CD.
What colors go with Medium Blue?
Opposite Medium Blue on the color wheel sits the complementary #CDCD00, the boldest accent by hue. For a calmer scheme use the analogous neighbours #0067CD and #6700CD; for a balanced three-color scheme use the triadic pair #CD0000 and #00CD00. Of these, #CDCD00 has the most contrast against Medium Blue, at 6.55:1, enough for icons and large text.
What text color is readable on Medium Blue?
White (#FFFFFF) is the most readable on Medium Blue, at 11.16:1, which also clears WCAG AAA (7:1). 2 of the 5 common text colors tested pass AA for normal text.
Use Medium Blue in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.