What is hex #403EFF color?

 
The hex code #403EFF 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 25% red, 24% green and 100% blue, resulting in rgb(64, 62, 255) and hsl(241, 100%, 62%).
For print media and manufacturing layout, the CMYK equivalent is (75%, 76%, 0%, 0%).
In the HSV/HSB scale, #403EFF features a hue of 241°, 76% saturation, and 100% brightness.

Hex #403EFF Color Codes & Conversions

Closest Named Color
Blue Bonnet (#1C1CF0)
Hex Code #403EFF
Hex8 (RGBA Hex) #403EFFFF
RGB (CSS) rgb(64, 62, 255)
RGBA (CSS) rgba(64, 62, 255, 1)
HSL (CSS) hsl(241, 100%, 62%)
HSLA (CSS) hsla(241, 100%, 62%, 1)
HSV / HSB (241°, 76%, 100%)
CMYK Values (75%, 76%, 0%, 0%)
OKLCH (Modern CSS) oklch(51.6% 0.271 272.1)
CIE-LAB (D65) 40.82, 61.52, -93.61
CIE XYZ 21.88, 11.75, 95.70
Decimal / Binary 4210431
01000000 00111110 11111111

Closest Standards & Equivalents

Closest Web Safe
#3333FF
Inverse Color
#BFC100
Complementary Color
#FDFF3E
Closest Pantone®
Pantone 2726 C
Closest RAL
RAL 5007 [Brilliant blue]

#403EFF Grayscale Equivalents

Average
#7F7F7F
Lightness (Desaturation)
#9F9F9F
Weighted (BT601)
#555555 [Davy Grey]
Luma (BT709)
#4C4C4C

WCAG 2.1 Color Contrast & Accessibility

Check how #403EFF 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 #403EFF

Sample preview of readable typography on top of #403EFF.

Contrast Ratio: 6.27:1
AA Pass AAA Fail

Black Text on #403EFF

Sample preview of readable typography on top of #403EFF.

Contrast Ratio: 3.35:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #403EFF

Preview #403EFF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #403EFF;
Typography Color Preview
color: #403EFF;
Border & Shadow Preview
border: 2px solid #403EFF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #403EFF;
  --color-primary-rgb: 64, 62, 255;
  --color-complementary: #FDFF3E;
}
.btn-accent {
  background-color: #403EFF;
  color: #ffffff;
}

Hex #403EFF Color Palettes

Complementary Palette

The complementary color of #403EFF is #FDFF3E. 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 #403EFF pairs with #3E9CFF and #A03EFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #403EFF pairs with #9CFF3E and #FFA03E, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #403EFF uses #3EFF40 and #FF403E, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #403EFF combines #FF403E, #FDFF3E and #3EFDFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #403EFF pairs with #FF3E9C, #FDFF3E and #3EFFA0 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #403EFF

Tints

Tints are created by mixing #403EFF with white, producing lighter variations.

Tones

Tones are created by mixing #403EFF with gray, softening saturation.

Shades

Shades result from mixing #403EFF with black, creating deeper variations.

Hex #403EFF in Programming & CSS Frameworks

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

HTML / CSS #403EFF
Tailwind CSS bg-[#403EFF] text-[#403EFF]
Java (AWT) new Color(64,62,255);
Python Color("#403EFF")
.NET (C#) Color.FromArgb(255, 64,62,255);
Swift / iOS UIColor(red: 0.25, green: 0.24, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(64, 62, 255)