What is hex #54079B color?
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 33% red, 3% green and 61% blue, resulting in rgb(84, 7, 155) and hsl(271, 91%, 32%).
For print media and manufacturing layout, the CMYK equivalent is (46%, 95%, 0%, 39%).
In the HSV/HSB scale, #54079B features a hue of 271°, 95% saturation, and 61% brightness.
Hex #54079B Color Codes & Conversions
| Closest Named Color | Indigo (#4B0082) |
| Hex Code | #54079B |
| Hex8 (RGBA Hex) | #54079BFF |
| RGB (CSS) | rgb(84, 7, 155) |
| RGBA (CSS) | rgba(84, 7, 155, 1) |
| HSL (CSS) | hsl(271, 91%, 32%) |
| HSLA (CSS) | hsla(271, 91%, 32%, 1) |
| HSV / HSB | (271°, 95%, 61%) |
| CMYK Values | (46%, 95%, 0%, 39%) |
| OKLCH (Modern CSS) | oklch(38.0% 0.200 298.1) |
| CIE-LAB (D65) | 24.96, 56.67, -61.44 |
| CIE XYZ | 9.65, 4.40, 31.35 |
| Decimal / Binary |
5506971
01010100 00000111 10011011 |
WCAG 2.1 Color Contrast & Accessibility
Check how #54079B 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 #54079B
Sample preview of readable typography on top of #54079B.
Black Text on #54079B
Sample preview of readable typography on top of #54079B.
HTML / CSS Live Previews & Snippets for #54079B
Preview #54079B in real UI elements and copy ready-to-use CSS rules.
background-color: #54079B;
color: #54079B;
border: 2px solid #54079B;
:root {
--color-primary: #54079B;
--color-primary-rgb: 84, 7, 155;
--color-complementary: #4E9B07;
}
.btn-accent {
background-color: #54079B;
color: #ffffff;
}
Hex #54079B Color Palettes
Complementary Palette
The complementary color of #54079B is #4E9B07. 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 #54079B pairs with #09079B and #9B0798, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #54079B pairs with #079B0A and #989B07, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #54079B uses #079B54 and #9B5407, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #54079B combines #9B5407, #4E9B07 and #074E9B around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #54079B pairs with #9B0A07, #4E9B07 and #07989B spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #54079B
Tints
Tints are created by mixing #54079B with white, producing lighter variations.
Tones
Tones are created by mixing #54079B with gray, softening saturation.
Shades
Shades result from mixing #54079B with black, creating deeper variations.
Hex #54079B in Programming & CSS Frameworks
Copy the exact syntax for #54079B in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #54079B |
| Tailwind CSS | bg-[#54079B] text-[#54079B] |
| Java (AWT) | new Color(84,7,155); |
| Python | Color("#54079B") |
| .NET (C#) | Color.FromArgb(255, 84,7,155); |
| Swift / iOS | UIColor(red: 0.33, green: 0.03, blue: 0.61, alpha: 1) |
| Kotlin / Android | Color.rgb(84, 7, 155) |