What is hex #045EFF 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 2% red, 37% green and 100% blue, resulting in rgb(4, 94, 255) and hsl(218, 100%, 51%).
For print media and manufacturing layout, the CMYK equivalent is (98%, 63%, 0%, 0%).
In the HSV/HSB scale, #045EFF features a hue of 218°, 98% saturation, and 100% brightness.
Hex #045EFF Color Codes & Conversions
| Closest Named Color | Brandeis Blue (#0070FF) |
| Hex Code | #045EFF |
| Hex8 (RGBA Hex) | #045EFFFF |
| RGB (CSS) | rgb(4, 94, 255) |
| RGBA (CSS) | rgba(4, 94, 255, 1) |
| HSL (CSS) | hsl(218, 100%, 51%) |
| HSLA (CSS) | hsla(218, 100%, 51%, 1) |
| HSV / HSB | (218°, 98%, 100%) |
| CMYK Values | (98%, 63%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(54.9% 0.250 262.0) |
| CIE-LAB (D65) | 45.97, 40.32, -85.17 |
| CIE XYZ | 22.10, 15.25, 96.37 |
| Decimal / Binary |
286463
00000100 01011110 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #0066FF |
| Inverse Color | #FBA100 |
| Complementary Color | #FFA504 |
| Closest Pantone® | Pantone 285 C |
| Closest RAL | RAL 5015 [Sky blue] |
#045EFF Grayscale Equivalents
| Average | #767676 |
| Lightness (Desaturation) | #828282 |
| Weighted (BT601) | #555555 [Davy Grey] |
| Luma (BT709) | #565656 |
WCAG 2.1 Color Contrast & Accessibility
Check how #045EFF 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 #045EFF
Sample preview of readable typography on top of #045EFF.
Black Text on #045EFF
Sample preview of readable typography on top of #045EFF.
HTML / CSS Live Previews & Snippets for #045EFF
Preview #045EFF in real UI elements and copy ready-to-use CSS rules.
background-color: #045EFF;
color: #045EFF;
border: 2px solid #045EFF;
:root {
--color-primary: #045EFF;
--color-primary-rgb: 4, 94, 255;
--color-complementary: #FFA504;
}
.btn-accent {
background-color: #045EFF;
color: #ffffff;
}
Hex #045EFF Color Palettes
Complementary Palette
The complementary color of #045EFF is #FFA504. 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 #045EFF pairs with #04DBFF and #2704FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #045EFF pairs with #DBFF04 and #FF2704, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #045EFF uses #5EFF04 and #FF045E, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #045EFF combines #FF045E, #FFA504 and #04FFA5 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #045EFF pairs with #FF04DB, #FFA504 and #04FF27 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #045EFF
Tints
Tints are created by mixing #045EFF with white, producing lighter variations.
Tones
Tones are created by mixing #045EFF with gray, softening saturation.
Shades
Shades result from mixing #045EFF with black, creating deeper variations.
Hex #045EFF in Programming & CSS Frameworks
Copy the exact syntax for #045EFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #045EFF |
| Tailwind CSS | bg-[#045EFF] text-[#045EFF] |
| Java (AWT) | new Color(4,94,255); |
| Python | Color("#045EFF") |
| .NET (C#) | Color.FromArgb(255, 4,94,255); |
| Swift / iOS | UIColor(red: 0.02, green: 0.37, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(4, 94, 255) |