What is hex #2F74FF 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 18% red, 45% green and 100% blue, resulting in rgb(47, 116, 255) and hsl(220, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (82%, 55%, 0%, 0%).
In the HSV/HSB scale, #2F74FF features a hue of 220°, 82% saturation, and 100% brightness.
Hex #2F74FF Color Codes & Conversions
| Closest Named Color | Blue Crayola (#1F75FE) |
| Hex Code | #2F74FF |
| Hex8 (RGBA Hex) | #2F74FFFF |
| RGB (CSS) | rgb(47, 116, 255) |
| RGBA (CSS) | rgba(47, 116, 255, 1) |
| HSL (CSS) | hsl(220, 100%, 59%) |
| HSLA (CSS) | hsla(220, 100%, 59%, 1) |
| HSV / HSB | (220°, 82%, 100%) |
| CMYK Values | (82%, 55%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(59.8% 0.219 262.2) |
| CIE-LAB (D65) | 52.19, 28.40, -74.99 |
| CIE XYZ | 25.46, 20.31, 97.17 |
| Decimal / Binary |
3110143
00101111 01110100 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #2F74FF 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 #2F74FF
Sample preview of readable typography on top of #2F74FF.
Black Text on #2F74FF
Sample preview of readable typography on top of #2F74FF.
HTML / CSS Live Previews & Snippets for #2F74FF
Preview #2F74FF in real UI elements and copy ready-to-use CSS rules.
background-color: #2F74FF;
color: #2F74FF;
border: 2px solid #2F74FF;
:root {
--color-primary: #2F74FF;
--color-primary-rgb: 47, 116, 255;
--color-complementary: #FFBA2F;
}
.btn-accent {
background-color: #2F74FF;
color: #000000;
}
Hex #2F74FF Color Palettes
Complementary Palette
The complementary color of #2F74FF is #FFBA2F. 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 #2F74FF pairs with #2FDCFF and #522FFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #2F74FF pairs with #DCFF2F and #FF522F, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #2F74FF uses #74FF2F and #FF2F74, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #2F74FF combines #FF2F74, #FFBA2F and #2FFFBA around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #2F74FF pairs with #FF2FDC, #FFBA2F and #2FFF52 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #2F74FF
Tints
Tints are created by mixing #2F74FF with white, producing lighter variations.
Tones
Tones are created by mixing #2F74FF with gray, softening saturation.
Shades
Shades result from mixing #2F74FF with black, creating deeper variations.
Hex #2F74FF in Programming & CSS Frameworks
Copy the exact syntax for #2F74FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #2F74FF |
| Tailwind CSS | bg-[#2F74FF] text-[#2F74FF] |
| Java (AWT) | new Color(47,116,255); |
| Python | Color("#2F74FF") |
| .NET (C#) | Color.FromArgb(255, 47,116,255); |
| Swift / iOS | UIColor(red: 0.18, green: 0.45, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(47, 116, 255) |