What is hex #5259EC color?
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 |
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.
Black Text on #5259EC
Sample preview of readable typography on top of #5259EC.
HTML / CSS Live Previews & Snippets for #5259EC
Preview #5259EC in real UI elements and copy ready-to-use CSS rules.
background-color: #5259EC;
color: #5259EC;
border: 2px solid #5259EC;
: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) |