What is hex #0002FF color?

 
The hex code #0002FF is closest to the named color Blue (#0000FF).
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 0% red, 1% green and 100% blue, resulting in rgb(0, 2, 255) and hsl(240, 100%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (100%, 99%, 0%, 0%).
In the HSV/HSB scale, #0002FF features a hue of 240°, 100% saturation, and 100% brightness.

Hex #0002FF Color Codes & Conversions

Closest Named Color
Blue (#0000FF)
Hex Code #0002FF
Hex8 (RGBA Hex) #0002FFFF
RGB (CSS) rgb(0, 2, 255)
RGBA (CSS) rgba(0, 2, 255, 1)
HSL (CSS) hsl(240, 100%, 50%)
HSLA (CSS) hsla(240, 100%, 50%, 1)
HSV / HSB (240°, 100%, 100%)
CMYK Values (100%, 99%, 0%, 0%)
OKLCH (Modern CSS) oklch(45.3% 0.313 264.1)
CIE-LAB (D65) 32.39, 78.89, -107.70
CIE XYZ 18.07, 7.26, 95.04
Decimal / Binary 767
00000000 00000010 11111111

Closest Standards & Equivalents

Closest Web Safe
#0000FF [Blue]
Inverse Color
#FFFD00
Complementary Color
#FFFD00
Closest Pantone®
Pantone Blue 072 C
Closest RAL
RAL 5005 [Signal blue]

#0002FF Grayscale Equivalents

Average
#565656
Lightness (Desaturation)
#808080 [Grey]
Weighted (BT601)
#1E1E1E
Luma (BT709)
#141414

WCAG 2.1 Color Contrast & Accessibility

Check how #0002FF 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 #0002FF

Sample preview of readable typography on top of #0002FF.

Contrast Ratio: 8.56:1
AA Pass AAA Pass

Black Text on #0002FF

Sample preview of readable typography on top of #0002FF.

Contrast Ratio: 2.45:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #0002FF

Preview #0002FF in real UI elements and copy ready-to-use CSS rules.

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

Hex #0002FF Color Palettes

Complementary Palette

The complementary color of #0002FF is #FFFD00. 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 #0002FF pairs with #0081FF and #7D00FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #0002FF pairs with #81FF00 and #FF7D00, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #0002FF uses #02FF00 and #FF0002, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #0002FF combines #FF0002, #FFFD00 and #00FFFD around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #0002FF pairs with #FF0081, #FFFD00 and #00FF7D spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #0002FF

Tints

Tints are created by mixing #0002FF with white, producing lighter variations.

Tones

Tones are created by mixing #0002FF with gray, softening saturation.

Shades

Shades result from mixing #0002FF with black, creating deeper variations.

Hex #0002FF in Programming & CSS Frameworks

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

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