BLUE

Medium Blue

#0000CD
Conversions
HEX#0000CD
RGBrgb(0, 0, 205)
HSLhsl(240, 100%, 40%)
HSVhsv(240, 100%, 80%)
CMYKcmyk(100%, 100%, 0%, 20%)
Copy CSS
color: #0000cd; /* rgb */ color: rgb(0, 0, 205); /* hsl */ color: hsl(240, 100%, 40%);
Contrast
On whitePass · 11.16 : 1
On ink blackFail · 1.71 : 1
Shades
Tints
Pairings

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.

Contrast of common text colors on Medium Blue. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF11.16:1PassPassPass
Ink black #0F0F121.71:1FailFailFail
Mid grey #6B72802.31:1FailFailFail
Dark grey #3741511.08:1FailFailFail
Light grey #E5E7EB9.01:1PassPassPass

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

FormatValue
HEX#0000CD
RGBrgb(0, 0, 205)
HSLhsl(240, 100%, 40%)
HSVhsv(240, 100%, 80%)
CMYKcmyk(100%, 100%, 0%, 20%)
OKLCHoklch(38.35% 0.2657 264.05)
CIELABlab(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.