Skip to main content

#0000CD Medium Blue

#0000CD is Medium Blue.

#0000CD

Medium Blue

What are the RGB, HSL, OKLCH and CMYK values of #0000CD?

HEX
#0000CD
RGB
rgb(0, 0, 205)
HSL
hsl(240, 100%, 40%)
OKLCH
oklch(38.3% 0.266 264)
CMYK
100, 100, 0, 20

#0000CD has a contrast ratio of 11.16:1 against white and 1.88:1 against black, so white is the better background for text in this color and light text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #0000CD
#0000CD
Same color
White
11.2AAA
Near-black
1.6Fail

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #0000CD · 11.2:1

Tints and shades of #0000CD

Same hue and chroma in OKLCH, lighter to darker.

  1. #F0F5FF
  2. #C1D6FF
  3. #92B6FF
  4. #6394FF
  5. #326DFF
  6. #0740F3
  7. #0000CD
  8. #001584
  9. #000053

Colors that go with #0000CD

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. No two swatches become hard to tell apart here.

Export

Copy-paste code, or download the swatches.

:root {
  --medium-blue-1: #0000CD; /* Medium Blue */
}

Palettes, gradients and meshes with #0000CD

Items using this color or one perceptually close to it, closest first.

Nothing on Tinta uses #0000CD yet. Build a palette from it in the Studio.