TintShelf
Interface

Medium Blue Color Code: Hex #0000CD

The hex code for Medium Blue is #0000CD (the CSS keyword mediumblue). Medium Blue RGB code: rgb(0, 0, 205). The xkcd color survey gives #2C6FBB instead, which looks clearly different; both codes are below with their source.

CSS Color 4, meodai color-name-list#0000CDTop: the code browsers use
xkcd color survey#2C6FBBBelow: compare edge to edge

Medium Blue color codes: each Medium Blue hex code in every format

HEX#0000CD
RGBrgb(0, 0, 205)
HSLhsl(240, 100%, 40%)
OKLCHoklch(38.3% 0.266 264.1)
LABlab(22.7 57.9 -95.0)
CMYKcmyk(100%, 100%, 0%, 20%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
2 different ones in 3 color lists; they look clearly different
Family
blue
Contrast
11.16:1 with white, 1.88:1 with black
CSS keyword
mediumblue
Character
dark, vivid
Readable text on it
white (AA)

In the X11 naming, medium blue sits at 80% brightness, between blue at 100% and dark blue at 55%.

A dark, vivid blue with a cool cast. In code, mediumblue gives exactly this web value. If you mean the color as people usually picture the name, the survey value #2C6FBB is closer: it is lighter and more muted.

White text reads best on it; black text does not pass WCAG AA. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Blue, its closest named neighbour, it looks darker, more muted and warmer; beside Dark Blue it looks lighter, more vivid and cooler. It is one of the darkest of the blue family here.

Colors that go with Medium Blue

Complementary: the opposite of Medium Blue

Open in generator

  • #0000CDWhite text 11.16:1
  • #573F00White text 9.92:1
  • #648FEBBlack text 6.67:1
  • #332300White text 15.20:1

Analogous

Open in generator

  • #004967White text 9.77:1
  • #0000CDWhite text 11.16:1
  • #5100A5White text 11.09:1
  • #8DAEF3Black text 9.48:1

Triadic

Open in generator

  • #0000CDWhite text 11.16:1
  • #820014White text 10.72:1
  • #00530CWhite text 9.36:1
  • #B7CDF9Black text 13.11:1

Monochrome

Open in generator

  • #000038White text 19.87:1
  • #00007EWhite text 16.14:1
  • #0000CDWhite text 11.16:1
  • #3C6EE3White text 4.63:1
  • #8DAEF3Black text 9.48:1

With neutrals

Open in generator

  • #0000CDWhite text 11.16:1
  • #B7CDF9Black text 13.11:1
  • #000019White text 20.71:1
  • #566D9CWhite text 5.17:1

How tints, shades and harmonies are calculated

Preview

Heading on Medium Blue

Body text on this color, 11.16:1.

Button

Heading in Medium Blue

Text in this color on white, 11.16:1.

Button

Tints and shades

  1. #B7CDF9
  2. #8DAEF3
  3. #648FEB
  4. #3C6EE3
  5. #1448D8
  6. #0000CD
  7. #0000A5
  8. #00007E
  9. #00005A
  10. #000038
  11. #000019

WhiteMedium BlueBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.