What is hex #4100BA color?

 
The hex code #4100BA is closest to the named color Medium Blue (#0000CD).
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, 0% green and 73% blue, resulting in rgb(65, 0, 186) and hsl(261, 100%, 36%).
For print media and manufacturing layout, the CMYK equivalent is (65%, 100%, 0%, 27%).
In the HSV/HSB scale, #4100BA features a hue of 261°, 100% saturation, and 73% brightness.

Hex #4100BA Color Codes & Conversions

Closest Named Color
Medium Blue (#0000CD)
Hex Code #4100BA
Hex8 (RGBA Hex) #4100BAFF
RGB (CSS) rgb(65, 0, 186)
RGBA (CSS) rgba(65, 0, 186, 1)
HSL (CSS) hsl(261, 100%, 36%)
HSLA (CSS) hsla(261, 100%, 36%, 1)
HSV / HSB (261°, 100%, 73%)
CMYK Values (65%, 100%, 0%, 27%)
OKLCH (Modern CSS) oklch(39.1% 0.233 282.2)
CIE-LAB (D65) 25.77, 63.93, -78.88
CIE XYZ 11.04, 4.67, 46.76
Decimal / Binary 4260026
01000001 00000000 10111010

Closest Standards & Equivalents

Closest Web Safe
#3300CC
Inverse Color
#BEFF45
Complementary Color
#79BA00
Closest Pantone®
Pantone Violet C
Closest RAL
RAL 5002 [Ultramarine blue]

#4100BA Grayscale Equivalents

Average
#545454
Lightness (Desaturation)
#5D5D5D
Weighted (BT601)
#292929
Luma (BT709)
#1B1B1B [Eerie Black]

WCAG 2.1 Color Contrast & Accessibility

Check how #4100BA 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 #4100BA

Sample preview of readable typography on top of #4100BA.

Contrast Ratio: 10.86:1
AA Pass AAA Pass

Black Text on #4100BA

Sample preview of readable typography on top of #4100BA.

Contrast Ratio: 1.93:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #4100BA

Preview #4100BA in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #4100BA;
Typography Color Preview
color: #4100BA;
Border & Shadow Preview
border: 2px solid #4100BA;
CSS Custom Properties & Gradient
:root {
  --color-primary: #4100BA;
  --color-primary-rgb: 65, 0, 186;
  --color-complementary: #79BA00;
}
.btn-accent {
  background-color: #4100BA;
  color: #ffffff;
}

Hex #4100BA Color Palettes

Complementary Palette

The complementary color of #4100BA is #79BA00. 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 #4100BA pairs with #001CBA and #9E00BA, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #4100BA pairs with #1CBA00 and #BA9E00, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #4100BA uses #00BA41 and #BA4100, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #4100BA combines #BA4100, #79BA00 and #0079BA around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #4100BA pairs with #BA001C, #79BA00 and #00BA9E spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #4100BA

Tints

Tints are created by mixing #4100BA with white, producing lighter variations.

Tones

Tones are created by mixing #4100BA with gray, softening saturation.

Shades

Shades result from mixing #4100BA with black, creating deeper variations.

Hex #4100BA in Programming & CSS Frameworks

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

HTML / CSS #4100BA
Tailwind CSS bg-[#4100BA] text-[#4100BA]
Java (AWT) new Color(65,0,186);
Python Color("#4100BA")
.NET (C#) Color.FromArgb(255, 65,0,186);
Swift / iOS UIColor(red: 0.25, green: 0, blue: 0.73, alpha: 1)
Kotlin / Android Color.rgb(65, 0, 186)