What is hex #002FEB color?

 
The hex code #002FEB is closest to the named color Blue Bonnet (#1C1CF0).
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, 18% green and 92% blue, resulting in rgb(0, 47, 235) and hsl(228, 100%, 46%).
For print media and manufacturing layout, the CMYK equivalent is (100%, 80%, 0%, 8%).
In the HSV/HSB scale, #002FEB features a hue of 228°, 100% saturation, and 92% brightness.

Hex #002FEB Color Codes & Conversions

Closest Named Color
Blue Bonnet (#1C1CF0)
Hex Code #002FEB
Hex8 (RGBA Hex) #002FEBFF
RGB (CSS) rgb(0, 47, 235)
RGBA (CSS) rgba(0, 47, 235, 1)
HSL (CSS) hsl(228, 100%, 46%)
HSLA (CSS) hsla(228, 100%, 46%, 1)
HSV / HSB (228°, 100%, 92%)
CMYK Values (100%, 80%, 0%, 8%)
OKLCH (Modern CSS) oklch(45.7% 0.273 264.1)
CIE-LAB (D65) 34.04, 60.41, -93.65
CIE XYZ 16.01, 8.03, 79.29
Decimal / Binary 12267
00000000 00101111 11101011

Closest Standards & Equivalents

Closest Web Safe
#0033FF
Inverse Color
#FFD014
Complementary Color
#EBBC00
Closest Pantone®
Pantone 2728 C
Closest RAL
RAL 5005 [Signal blue]

#002FEB Grayscale Equivalents

Average
#5E5E5E
Lightness (Desaturation)
#767676
Weighted (BT601)
#363636
Luma (BT709)
#333333

WCAG 2.1 Color Contrast & Accessibility

Check how #002FEB 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 #002FEB

Sample preview of readable typography on top of #002FEB.

Contrast Ratio: 8.06:1
AA Pass AAA Pass

Black Text on #002FEB

Sample preview of readable typography on top of #002FEB.

Contrast Ratio: 2.61:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #002FEB

Preview #002FEB in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #002FEB;
Typography Color Preview
color: #002FEB;
Border & Shadow Preview
border: 2px solid #002FEB;
CSS Custom Properties & Gradient
:root {
  --color-primary: #002FEB;
  --color-primary-rgb: 0, 47, 235;
  --color-complementary: #EBBC00;
}
.btn-accent {
  background-color: #002FEB;
  color: #ffffff;
}

Hex #002FEB Color Palettes

Complementary Palette

The complementary color of #002FEB is #EBBC00. 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 #002FEB pairs with #00A4EB and #4600EB, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #002FEB pairs with #A4EB00 and #EB4600, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #002FEB uses #2FEB00 and #EB002F, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #002FEB combines #EB002F, #EBBC00 and #00EBBC around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #002FEB pairs with #EB00A4, #EBBC00 and #00EB46 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #002FEB

Tints

Tints are created by mixing #002FEB with white, producing lighter variations.

Tones

Tones are created by mixing #002FEB with gray, softening saturation.

Shades

Shades result from mixing #002FEB with black, creating deeper variations.

Hex #002FEB in Programming & CSS Frameworks

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

HTML / CSS #002FEB
Tailwind CSS bg-[#002FEB] text-[#002FEB]
Java (AWT) new Color(0,47,235);
Python Color("#002FEB")
.NET (C#) Color.FromArgb(255, 0,47,235);
Swift / iOS UIColor(red: 0, green: 0.18, blue: 0.92, alpha: 1)
Kotlin / Android Color.rgb(0, 47, 235)