Colors

#0000CD

Medium Blue

Medium Blue is #0000CD. In CSS you can write it as the keyword mediumblue. The values below are the same sRGB color in HEX, RGB, HSL, HSV, a simple CMYK conversion, and OKLCH. CMYK here is a channel formula for reference, not a press proof.

Conversions

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.3% 0.266 264.1)

Tints and shades

Tints mix this color toward white. Shades mix it toward black in sRGB. For a 50–950 ramp, open the tint and shade generator.

Tints

#3333D7

20% white

#6666E1

40% white

#9999EB

60% white

#CCCCF5

80% white

Shades

#0000A4

20% black

#00007B

40% black

#000052

60% black

#000029

80% black

Harmony palettes

These schemes rotate hue from Medium Blue. Read the relationships in color theory 101 or adjust them on the color wheel.

#0000CC

#CCCC00

#3C3CDD

#DDDD3C

#202060

#0066CC

#0000CC

#6600CC

#CC00CC

#0FBDBD

#0000CC

#CC0000

#00CC00

#DD3C3C

#178217

Split Complementary

Open in palette generator

#0000CC

#CC6600

#66CC00

#5C5CD6

#606020

#000066

#0000B3

#0000FF

#4D4DFF

#9999FF

#0000CC

#CC0066

#CCCC00

#00CC66

#D43585

Contrast against white and black

Ratios use the WCAG relative-luminance formula. AA normal text needs 4.5:1 and large text needs 3:1 under Success Criterion 1.4.3. AAA uses 7:1 and 4.5:1. A pass here is only this pair, not a full page audit. Check other pairings in the contrast checker.

On white · 11.16:1
AA normal text Pass
AA large text Pass
AAA normal text Pass
AAA large text Pass
On black · 1.88:1
AA normal text Fail
AA large text Fail
AAA normal text Fail
AAA large text Fail

Similar named colors

Nearest CSS named colors by RGB distance. Distance is not a perceptual match.

Use this color