What is hex #2F2DFF 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, 18% green and 100% blue, resulting in rgb(47, 45, 255) and hsl(241, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (82%, 82%, 0%, 0%).
In the HSV/HSB scale, #2F2DFF features a hue of 241°, 82% saturation, and 100% brightness.
Hex #2F2DFF Color Codes & Conversions
| Closest Named Color | Blue Bonnet (#1C1CF0) |
| Hex Code | #2F2DFF |
| Hex8 (RGBA Hex) | #2F2DFFFF |
| RGB (CSS) | rgb(47, 45, 255) |
| RGBA (CSS) | rgba(47, 45, 255, 1) |
| HSL (CSS) | hsl(241, 100%, 59%) |
| HSLA (CSS) | hsla(241, 100%, 59%, 1) |
| HSV / HSB | (241°, 82%, 100%) |
| CMYK Values | (82%, 82%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(48.9% 0.288 269.3) |
| CIE-LAB (D65) | 37.30, 68.43, -99.49 |
| CIE XYZ | 20.15, 9.70, 95.40 |
| Decimal / Binary |
3091967
00101111 00101101 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #3333FF |
| Inverse Color | #D0D200 |
| Complementary Color | #FDFF2D |
| Closest Pantone® | Pantone 2727 C |
| Closest RAL | RAL 5002 [Ultramarine blue] |
#2F2DFF Grayscale Equivalents
| Average | #747474 |
| Lightness (Desaturation) | #969696 |
| Weighted (BT601) | #464646 |
| Luma (BT709) | #3D3D3D |
WCAG 2.1 Color Contrast & Accessibility
Check how #2F2DFF 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 #2F2DFF
Sample preview of readable typography on top of #2F2DFF.
Black Text on #2F2DFF
Sample preview of readable typography on top of #2F2DFF.
HTML / CSS Live Previews & Snippets for #2F2DFF
Preview #2F2DFF in real UI elements and copy ready-to-use CSS rules.
background-color: #2F2DFF;
color: #2F2DFF;
border: 2px solid #2F2DFF;
:root {
--color-primary: #2F2DFF;
--color-primary-rgb: 47, 45, 255;
--color-complementary: #FDFF2D;
}
.btn-accent {
background-color: #2F2DFF;
color: #ffffff;
}
Hex #2F2DFF Color Palettes
Complementary Palette
The complementary color of #2F2DFF is #FDFF2D. 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 #2F2DFF pairs with #2D94FF and #982DFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #2F2DFF pairs with #94FF2D and #FF982D, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #2F2DFF uses #2DFF2F and #FF2F2D, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #2F2DFF combines #FF2F2D, #FDFF2D and #2DFDFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #2F2DFF pairs with #FF2D94, #FDFF2D and #2DFF98 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #2F2DFF
Tints
Tints are created by mixing #2F2DFF with white, producing lighter variations.
Tones
Tones are created by mixing #2F2DFF with gray, softening saturation.
Shades
Shades result from mixing #2F2DFF with black, creating deeper variations.
Hex #2F2DFF in Programming & CSS Frameworks
Copy the exact syntax for #2F2DFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #2F2DFF |
| Tailwind CSS | bg-[#2F2DFF] text-[#2F2DFF] |
| Java (AWT) | new Color(47,45,255); |
| Python | Color("#2F2DFF") |
| .NET (C#) | Color.FromArgb(255, 47,45,255); |
| Swift / iOS | UIColor(red: 0.18, green: 0.18, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(47, 45, 255) |