What is hex #0200DB color?

 
The hex code #0200DB 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 1% red, 0% green and 86% blue, resulting in rgb(2, 0, 219) and hsl(241, 100%, 43%).
For print media and manufacturing layout, the CMYK equivalent is (99%, 100%, 0%, 14%).
In the HSV/HSB scale, #0200DB features a hue of 241°, 100% saturation, and 86% brightness.

Hex #0200DB Color Codes & Conversions

Closest Named Color
Medium Blue (#0000CD)
Hex Code #0200DB
Hex8 (RGBA Hex) #0200DBFF
RGB (CSS) rgb(2, 0, 219)
RGBA (CSS) rgba(2, 0, 219, 1)
HSL (CSS) hsl(241, 100%, 43%)
HSLA (CSS) hsla(241, 100%, 43%, 1)
HSV / HSB (241°, 100%, 86%)
CMYK Values (99%, 100%, 0%, 14%)
OKLCH (Modern CSS) oklch(40.3% 0.279 264.2)
CIE-LAB (D65) 27.09, 70.60, -96.09
CIE XYZ 12.81, 5.13, 67.32
Decimal / Binary 131291
00000010 00000000 11011011

Closest Standards & Equivalents

Closest Web Safe
#0000CC
Inverse Color
#FDFF24
Complementary Color
#D9DB00
Closest Pantone®
Pantone Blue 072 C
Closest RAL
RAL 5005 [Signal blue]

#0200DB Grayscale Equivalents

Average
#4A4A4A
Lightness (Desaturation)
#6E6E6E
Weighted (BT601)
#1A1A1A
Luma (BT709)
#101010

WCAG 2.1 Color Contrast & Accessibility

Check how #0200DB 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 #0200DB

Sample preview of readable typography on top of #0200DB.

Contrast Ratio: 10.37:1
AA Pass AAA Pass

Black Text on #0200DB

Sample preview of readable typography on top of #0200DB.

Contrast Ratio: 2.03:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #0200DB

Preview #0200DB in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #0200DB;
Typography Color Preview
color: #0200DB;
Border & Shadow Preview
border: 2px solid #0200DB;
CSS Custom Properties & Gradient
:root {
  --color-primary: #0200DB;
  --color-primary-rgb: 2, 0, 219;
  --color-complementary: #D9DB00;
}
.btn-accent {
  background-color: #0200DB;
  color: #ffffff;
}

Hex #0200DB Color Palettes

Complementary Palette

The complementary color of #0200DB is #D9DB00. 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 #0200DB pairs with #006BDB and #6F00DB, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #0200DB pairs with #6BDB00 and #DB6F00, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #0200DB uses #00DB02 and #DB0100, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #0200DB combines #DB0100, #D9DB00 and #00D9DB around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #0200DB pairs with #DB006B, #D9DB00 and #00DB6F spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #0200DB

Tints

Tints are created by mixing #0200DB with white, producing lighter variations.

Tones

Tones are created by mixing #0200DB with gray, softening saturation.

Shades

Shades result from mixing #0200DB with black, creating deeper variations.

Hex #0200DB in Programming & CSS Frameworks

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

HTML / CSS #0200DB
Tailwind CSS bg-[#0200DB] text-[#0200DB]
Java (AWT) new Color(2,0,219);
Python Color("#0200DB")
.NET (C#) Color.FromArgb(255, 2,0,219);
Swift / iOS UIColor(red: 0.01, green: 0, blue: 0.86, alpha: 1)
Kotlin / Android Color.rgb(2, 0, 219)