What is hex #2F2EFF color?

 
The hex code #2F2EFF is closest to the named color Blue Bonnet (#1C1CF0).
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, 46, 255) and hsl(240, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (82%, 82%, 0%, 0%).
In the HSV/HSB scale, #2F2EFF features a hue of 240°, 82% saturation, and 100% brightness.

Hex #2F2EFF Color Codes & Conversions

Closest Named Color
Blue Bonnet (#1C1CF0)
Hex Code #2F2EFF
Hex8 (RGBA Hex) #2F2EFFFF
RGB (CSS) rgb(47, 46, 255)
RGBA (CSS) rgba(47, 46, 255, 1)
HSL (CSS) hsl(240, 100%, 59%)
HSLA (CSS) hsla(240, 100%, 59%, 1)
HSV / HSB (240°, 82%, 100%)
CMYK Values (82%, 82%, 0%, 0%)
OKLCH (Modern CSS) oklch(49.0% 0.287 269.2)
CIE-LAB (D65) 37.44, 68.02, -99.25
CIE XYZ 20.19, 9.78, 95.41
Decimal / Binary 3092223
00101111 00101110 11111111

Closest Standards & Equivalents

Closest Web Safe
#3333FF
Inverse Color
#D0D100
Complementary Color
#FEFF2E
Closest Pantone®
Pantone 2727 C
Closest RAL
RAL 5002 [Ultramarine blue]

#2F2EFF Grayscale Equivalents

Average
#747474
Lightness (Desaturation)
#979797
Weighted (BT601)
#464646
Luma (BT709)
#3D3D3D

WCAG 2.1 Color Contrast & Accessibility

Check how #2F2EFF 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 #2F2EFF

Sample preview of readable typography on top of #2F2EFF.

Contrast Ratio: 7.1:1
AA Pass AAA Pass

Black Text on #2F2EFF

Sample preview of readable typography on top of #2F2EFF.

Contrast Ratio: 2.96:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #2F2EFF

Preview #2F2EFF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #2F2EFF;
Typography Color Preview
color: #2F2EFF;
Border & Shadow Preview
border: 2px solid #2F2EFF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #2F2EFF;
  --color-primary-rgb: 47, 46, 255;
  --color-complementary: #FEFF2E;
}
.btn-accent {
  background-color: #2F2EFF;
  color: #ffffff;
}

Hex #2F2EFF Color Palettes

Complementary Palette

The complementary color of #2F2EFF is #FEFF2E. 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 #2F2EFF pairs with #2E95FF and #972EFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #2F2EFF pairs with #95FF2E and #FF972E, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #2F2EFF uses #2EFF2F and #FF2F2E, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #2F2EFF combines #FF2F2E, #FEFF2E and #2EFEFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #2F2EFF pairs with #FF2E95, #FEFF2E and #2EFF97 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #2F2EFF

Tints

Tints are created by mixing #2F2EFF with white, producing lighter variations.

Tones

Tones are created by mixing #2F2EFF with gray, softening saturation.

Shades

Shades result from mixing #2F2EFF with black, creating deeper variations.

Hex #2F2EFF in Programming & CSS Frameworks

Copy the exact syntax for #2F2EFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #2F2EFF
Tailwind CSS bg-[#2F2EFF] text-[#2F2EFF]
Java (AWT) new Color(47,46,255);
Python Color("#2F2EFF")
.NET (C#) Color.FromArgb(255, 47,46,255);
Swift / iOS UIColor(red: 0.18, green: 0.18, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(47, 46, 255)