What is hex #5259EC color?

 
The hex code #5259EC 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 32% red, 35% green and 93% blue, resulting in rgb(82, 89, 236) and hsl(237, 80%, 62%).
For print media and manufacturing layout, the CMYK equivalent is (65%, 62%, 0%, 7%).
In the HSV/HSB scale, #5259EC features a hue of 237°, 65% saturation, and 93% brightness.

Hex #5259EC Color Codes & Conversions

Closest Named Color
Royal Blue (#4169E1)
Hex Code #5259EC
Hex8 (RGBA Hex) #5259ECFF
RGB (CSS) rgb(82, 89, 236)
RGBA (CSS) rgba(82, 89, 236, 1)
HSL (CSS) hsl(237, 80%, 62%)
HSLA (CSS) hsla(237, 80%, 62%, 1)
HSV / HSB (237°, 65%, 93%)
CMYK Values (65%, 62%, 0%, 7%)
OKLCH (Modern CSS) oklch(54.8% 0.217 274.6)
CIE-LAB (D65) 45.62, 42.24, -75.02
CIE XYZ 22.19, 14.99, 81.07
Decimal / Binary 5396972
01010010 01011001 11101100

Closest Standards & Equivalents

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

#5259EC Grayscale Equivalents

Average
#888888
Lightness (Desaturation)
#9F9F9F
Weighted (BT601)
#686868
Luma (BT709)
#626262

WCAG 2.1 Color Contrast & Accessibility

Check how #5259EC 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 #5259EC

Sample preview of readable typography on top of #5259EC.

Contrast Ratio: 5.25:1
AA Pass AAA Fail

Black Text on #5259EC

Sample preview of readable typography on top of #5259EC.

Contrast Ratio: 4:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #5259EC

Preview #5259EC in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #5259EC;
Typography Color Preview
color: #5259EC;
Border & Shadow Preview
border: 2px solid #5259EC;
CSS Custom Properties & Gradient
:root {
  --color-primary: #5259EC;
  --color-primary-rgb: 82, 89, 236;
  --color-complementary: #ECE552;
}
.btn-accent {
  background-color: #5259EC;
  color: #ffffff;
}

Hex #5259EC Color Palettes

Complementary Palette

The complementary color of #5259EC is #ECE552. 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 #5259EC pairs with #52A6EC and #9852EC, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #5259EC pairs with #A6EC52 and #EC9852, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #5259EC uses #59EC52 and #EC5259, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #5259EC combines #EC5259, #ECE552 and #52ECE5 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #5259EC pairs with #EC52A6, #ECE552 and #52EC98 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #5259EC

Tints

Tints are created by mixing #5259EC with white, producing lighter variations.

Tones

Tones are created by mixing #5259EC with gray, softening saturation.

Shades

Shades result from mixing #5259EC with black, creating deeper variations.

Hex #5259EC in Programming & CSS Frameworks

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

HTML / CSS #5259EC
Tailwind CSS bg-[#5259EC] text-[#5259EC]
Java (AWT) new Color(82,89,236);
Python Color("#5259EC")
.NET (C#) Color.FromArgb(255, 82,89,236);
Swift / iOS UIColor(red: 0.32, green: 0.35, blue: 0.93, alpha: 1)
Kotlin / Android Color.rgb(82, 89, 236)