What is hex #041CFF color?

 
The hex code #041CFF 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 2% red, 11% green and 100% blue, resulting in rgb(4, 28, 255) and hsl(234, 100%, 51%).
For print media and manufacturing layout, the CMYK equivalent is (98%, 89%, 0%, 0%).
In the HSV/HSB scale, #041CFF features a hue of 234°, 98% saturation, and 100% brightness.

Hex #041CFF Color Codes & Conversions

Closest Named Color
Blue Bonnet (#1C1CF0)
Hex Code #041CFF
Hex8 (RGBA Hex) #041CFFFF
RGB (CSS) rgb(4, 28, 255)
RGBA (CSS) rgba(4, 28, 255, 1)
HSL (CSS) hsl(234, 100%, 51%)
HSLA (CSS) hsla(234, 100%, 51%, 1)
HSV / HSB (234°, 98%, 100%)
CMYK Values (98%, 89%, 0%, 0%)
OKLCH (Modern CSS) oklch(46.5% 0.305 264.4)
CIE-LAB (D65) 34.14, 73.71, -104.78
CIE XYZ 18.51, 8.07, 95.17
Decimal / Binary 269567
00000100 00011100 11111111

Closest Standards & Equivalents

Closest Web Safe
#0033FF
Inverse Color
#FBE300
Complementary Color
#FFE704
Closest Pantone®
Pantone Dark Blue C
Closest RAL
RAL 5005 [Signal blue]

#041CFF Grayscale Equivalents

Average
#606060
Lightness (Desaturation)
#828282
Weighted (BT601)
#2F2F2F
Luma (BT709)
#272727

WCAG 2.1 Color Contrast & Accessibility

Check how #041CFF 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 #041CFF

Sample preview of readable typography on top of #041CFF.

Contrast Ratio: 8.03:1
AA Pass AAA Pass

Black Text on #041CFF

Sample preview of readable typography on top of #041CFF.

Contrast Ratio: 2.62:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #041CFF

Preview #041CFF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #041CFF;
Typography Color Preview
color: #041CFF;
Border & Shadow Preview
border: 2px solid #041CFF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #041CFF;
  --color-primary-rgb: 4, 28, 255;
  --color-complementary: #FFE704;
}
.btn-accent {
  background-color: #041CFF;
  color: #ffffff;
}

Hex #041CFF Color Palettes

Complementary Palette

The complementary color of #041CFF is #FFE704. 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 #041CFF pairs with #0499FF and #6904FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #041CFF pairs with #99FF04 and #FF6904, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #041CFF uses #1CFF04 and #FF041C, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #041CFF combines #FF041C, #FFE704 and #04FFE7 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #041CFF pairs with #FF0499, #FFE704 and #04FF69 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #041CFF

Tints

Tints are created by mixing #041CFF with white, producing lighter variations.

Tones

Tones are created by mixing #041CFF with gray, softening saturation.

Shades

Shades result from mixing #041CFF with black, creating deeper variations.

Hex #041CFF in Programming & CSS Frameworks

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

HTML / CSS #041CFF
Tailwind CSS bg-[#041CFF] text-[#041CFF]
Java (AWT) new Color(4,28,255);
Python Color("#041CFF")
.NET (C#) Color.FromArgb(255, 4,28,255);
Swift / iOS UIColor(red: 0.02, green: 0.11, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(4, 28, 255)