What is hex #124DFF 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 7% red, 30% green and 100% blue, resulting in rgb(18, 77, 255) and hsl(225, 100%, 54%).
For print media and manufacturing layout, the CMYK equivalent is (93%, 70%, 0%, 0%).
In the HSV/HSB scale, #124DFF features a hue of 225°, 93% saturation, and 100% brightness.
Hex #124DFF Color Codes & Conversions
| Closest Named Color | Blue Ryb (#0247FE) |
| Hex Code | #124DFF |
| Hex8 (RGBA Hex) | #124DFFFF |
| RGB (CSS) | rgb(18, 77, 255) |
| RGBA (CSS) | rgba(18, 77, 255, 1) |
| HSL (CSS) | hsl(225, 100%, 54%) |
| HSLA (CSS) | hsla(225, 100%, 54%, 1) |
| HSV / HSB | (225°, 93%, 100%) |
| CMYK Values | (93%, 70%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(52.2% 0.266 264.2) |
| CIE-LAB (D65) | 42.24, 51.00, -91.32 |
| CIE XYZ | 20.95, 12.65, 95.93 |
| Decimal / Binary |
1199615
00010010 01001101 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #124DFF 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 #124DFF
Sample preview of readable typography on top of #124DFF.
Black Text on #124DFF
Sample preview of readable typography on top of #124DFF.
HTML / CSS Live Previews & Snippets for #124DFF
Preview #124DFF in real UI elements and copy ready-to-use CSS rules.
background-color: #124DFF;
color: #124DFF;
border: 2px solid #124DFF;
:root {
--color-primary: #124DFF;
--color-primary-rgb: 18, 77, 255;
--color-complementary: #FFC412;
}
.btn-accent {
background-color: #124DFF;
color: #ffffff;
}
Hex #124DFF Color Palettes
Complementary Palette
The complementary color of #124DFF is #FFC412. 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 #124DFF pairs with #12C3FF and #4D12FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #124DFF pairs with #C3FF12 and #FF4D12, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #124DFF uses #4DFF12 and #FF124D, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #124DFF combines #FF124D, #FFC412 and #12FFC4 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #124DFF pairs with #FF12C3, #FFC412 and #12FF4D spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #124DFF
Tints
Tints are created by mixing #124DFF with white, producing lighter variations.
Tones
Tones are created by mixing #124DFF with gray, softening saturation.
Shades
Shades result from mixing #124DFF with black, creating deeper variations.
Hex #124DFF in Programming & CSS Frameworks
Copy the exact syntax for #124DFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #124DFF |
| Tailwind CSS | bg-[#124DFF] text-[#124DFF] |
| Java (AWT) | new Color(18,77,255); |
| Python | Color("#124DFF") |
| .NET (C#) | Color.FromArgb(255, 18,77,255); |
| Swift / iOS | UIColor(red: 0.07, green: 0.3, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(18, 77, 255) |