What is hex #2000CD color?

 
The hex code #2000CD is closest to the named color Medium Blue (#0000CD).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 13% red, 0% green and 80% blue, resulting in rgb(32, 0, 205) and hsl(249, 100%, 40%).
For print media and manufacturing layout, the CMYK equivalent is (84%, 100%, 0%, 20%).
In the HSV/HSB scale, #2000CD features a hue of 249°, 100% saturation, and 80% brightness.

Hex #2000CD Color Codes & Conversions

Closest Named Color
Medium Blue (#0000CD)
Hex Code #2000CD
Hex8 (RGBA Hex) #2000CDFF
RGB (CSS) rgb(32, 0, 205)
RGBA (CSS) rgba(32, 0, 205, 1)
HSL (CSS) hsl(249, 100%, 40%)
HSLA (CSS) hsla(249, 100%, 40%, 1)
HSV / HSB (249°, 100%, 80%)
CMYK Values (84%, 100%, 0%, 20%)
OKLCH (Modern CSS) oklch(39.2% 0.260 268.9)
CIE-LAB (D65) 25.90, 67.48, -89.92
CIE XYZ 11.61, 4.71, 58.04
Decimal / Binary 2097357
00100000 00000000 11001101

Closest Standards & Equivalents

Closest Web Safe
#3300CC
Inverse Color
#DFFF32
Complementary Color
#ADCD00
Closest Pantone®
Pantone Blue 072 C
Closest RAL
RAL 5002 [Ultramarine blue]

#2000CD Grayscale Equivalents

Average
#4F4F4F
Lightness (Desaturation)
#676767
Weighted (BT601)
#212121
Luma (BT709)
#161616

WCAG 2.1 Color Contrast & Accessibility

Check how #2000CD complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #2000CD

Sample preview of readable typography on top of #2000CD.

Contrast Ratio: 10.81:1
AA Pass AAA Pass

Black Text on #2000CD

Sample preview of readable typography on top of #2000CD.

Contrast Ratio: 1.94:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #2000CD

Preview #2000CD in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #2000CD;
Typography Color Preview
color: #2000CD;
Border & Shadow Preview
border: 2px solid #2000CD;
CSS Custom Properties & Gradient
:root {
  --color-primary: #2000CD;
  --color-primary-rgb: 32, 0, 205;
  --color-complementary: #ADCD00;
}
.btn-accent {
  background-color: #2000CD;
  color: #ffffff;
}

Hex #2000CD Color Palettes

Complementary Palette

The complementary color of #2000CD is #ADCD00. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #2000CD pairs with #0046CD and #8600CD, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #2000CD pairs with #46CD00 and #CD8600, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #2000CD uses #00CD20 and #CD2000, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #2000CD combines #CD2000, #ADCD00 and #00ADCD around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #2000CD pairs with #CD0046, #ADCD00 and #00CD86 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #2000CD

Tints

Tints are created by mixing #2000CD with white, producing lighter variations.

Tones

Tones are created by mixing #2000CD with gray, softening saturation.

Shades

Shades result from mixing #2000CD with black, creating deeper variations.

Hex #2000CD in Programming & CSS Frameworks

Copy the exact syntax for #2000CD in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #2000CD
Tailwind CSS bg-[#2000CD] text-[#2000CD]
Java (AWT) new Color(32,0,205);
Python Color("#2000CD")
.NET (C#) Color.FromArgb(255, 32,0,205);
Swift / iOS UIColor(red: 0.13, green: 0, blue: 0.8, alpha: 1)
Kotlin / Android Color.rgb(32, 0, 205)