What is hex #4E4EFF color?

 
The hex code #4E4EFF is closest to the named color Royal Blue (#4169E1).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 31% red, 31% green and 100% blue, resulting in rgb(78, 78, 255) and hsl(240, 100%, 65%).
For print media and manufacturing layout, the CMYK equivalent is (69%, 69%, 0%, 0%).
In the HSV/HSB scale, #4E4EFF features a hue of 240°, 69% saturation, and 100% brightness.

Hex #4E4EFF Color Codes & Conversions

Closest Named Color
Royal Blue (#4169E1)
Hex Code #4E4EFF
Hex8 (RGBA Hex) #4E4EFFFF
RGB (CSS) rgb(78, 78, 255)
RGBA (CSS) rgba(78, 78, 255, 1)
HSL (CSS) hsl(240, 100%, 65%)
HSLA (CSS) hsla(240, 100%, 65%, 1)
HSV / HSB (240°, 69%, 100%)
CMYK Values (69%, 69%, 0%, 0%)
OKLCH (Modern CSS) oklch(54.6% 0.253 274.1)
CIE-LAB (D65) 44.64, 54.25, -87.28
CIE XYZ 23.91, 14.29, 96.09
Decimal / Binary 5132031
01001110 01001110 11111111

Closest Standards & Equivalents

Closest Web Safe
#6666FF
Inverse Color
#B1B100
Complementary Color
#FFFF4E
Closest Pantone®
Pantone 2726 C
Closest RAL
RAL 5023 [Distant blue]

#4E4EFF Grayscale Equivalents

Average
#898989
Lightness (Desaturation)
#A7A7A7
Weighted (BT601)
#626262
Luma (BT709)
#5B5B5B

WCAG 2.1 Color Contrast & Accessibility

Check how #4E4EFF 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 #4E4EFF

Sample preview of readable typography on top of #4E4EFF.

Contrast Ratio: 5.44:1
AA Pass AAA Fail

Black Text on #4E4EFF

Sample preview of readable typography on top of #4E4EFF.

Contrast Ratio: 3.86:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #4E4EFF

Preview #4E4EFF in real UI elements and copy ready-to-use CSS rules.

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

Hex #4E4EFF Color Palettes

Complementary Palette

The complementary color of #4E4EFF is #FFFF4E. 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 #4E4EFF pairs with #4EA6FF and #A64EFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #4E4EFF pairs with #A6FF4E and #FFA64E, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #4E4EFF uses #4EFF4E and #FF4E4E, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #4E4EFF combines #FF4E4E, #FFFF4E and #4EFFFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #4E4EFF pairs with #FF4EA6, #FFFF4E and #4EFFA6 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #4E4EFF

Tints

Tints are created by mixing #4E4EFF with white, producing lighter variations.

Tones

Tones are created by mixing #4E4EFF with gray, softening saturation.

Shades

Shades result from mixing #4E4EFF with black, creating deeper variations.

Hex #4E4EFF in Programming & CSS Frameworks

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

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