What is hex #2D2DFF color?

 
The hex code #2D2DFF 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(45, 45, 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, #2D2DFF features a hue of 240°, 82% saturation, and 100% brightness.

Hex #2D2DFF Color Codes & Conversions

Closest Named Color
Blue Bonnet (#1C1CF0)
Hex Code #2D2DFF
Hex8 (RGBA Hex) #2D2DFFFF
RGB (CSS) rgb(45, 45, 255)
RGBA (CSS) rgba(45, 45, 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(48.9% 0.288 268.9)
CIE-LAB (D65) 37.21, 68.36, -99.63
CIE XYZ 20.06, 9.65, 95.39
Decimal / Binary 2960895
00101101 00101101 11111111

Closest Standards & Equivalents

Closest Web Safe
#3333FF
Inverse Color
#D2D200
Complementary Color
#FFFF2D
Closest Pantone®
Pantone 2736 C
Closest RAL
RAL 5002 [Ultramarine blue]

#2D2DFF Grayscale Equivalents

Average
#737373
Lightness (Desaturation)
#969696
Weighted (BT601)
#454545
Luma (BT709)
#3C3C3C

WCAG 2.1 Color Contrast & Accessibility

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

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

Contrast Ratio: 7.16:1
AA Pass AAA Pass

Black Text on #2D2DFF

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

Contrast Ratio: 2.93:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #2D2DFF

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

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

Hex #2D2DFF Color Palettes

Complementary Palette

The complementary color of #2D2DFF is #FFFF2D. 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 #2D2DFF pairs with #2D96FF and #962DFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #2D2DFF pairs with #96FF2D and #FF962D, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #2D2DFF uses #2DFF2D and #FF2D2D, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #2D2DFF combines #FF2D2D, #FFFF2D and #2DFFFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #2D2DFF pairs with #FF2D96, #FFFF2D and #2DFF96 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #2D2DFF

Tints

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

Tones

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

Shades

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

Hex #2D2DFF in Programming & CSS Frameworks

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

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