Medium Blue
#0000CDAbout 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.
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) |
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.