What is hex #403DFF color?

 
The hex code #403DFF 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, 61, 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, #403DFF features a hue of 241°, 76% saturation, and 100% brightness.

Hex #403DFF Color Codes & Conversions

Closest Named Color
Blue Bonnet (#1C1CF0)
Hex Code #403DFF
Hex8 (RGBA Hex) #403DFFFF
RGB (CSS) rgb(64, 61, 255)
RGBA (CSS) rgba(64, 61, 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.5% 0.272 272.1)
CIE-LAB (D65) 40.65, 62.02, -93.90
CIE XYZ 21.83, 11.65, 95.69
Decimal / Binary 4210175
01000000 00111101 11111111

Closest Standards & Equivalents

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

#403DFF Grayscale Equivalents

Average
#7F7F7F
Lightness (Desaturation)
#9E9E9E
Weighted (BT601)
#545454
Luma (BT709)
#4C4C4C

WCAG 2.1 Color Contrast & Accessibility

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

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

Contrast Ratio: 6.31:1
AA Pass AAA Fail

Black Text on #403DFF

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

Contrast Ratio: 3.33:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #403DFF

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

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

Hex #403DFF Color Palettes

Complementary Palette

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

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #403DFF uses #3DFF40 and #FF403D, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #403DFF combines #FF403D, #FCFF3D and #3DFCFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #403DFF pairs with #FF3D9B, #FCFF3D and #3DFFA1 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #403DFF

Tints

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

Tones

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

Shades

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

Hex #403DFF in Programming & CSS Frameworks

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

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