What is hex #282DFF color?

 
The hex code #282DFF 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 16% red, 18% green and 100% blue, resulting in rgb(40, 45, 255) and hsl(239, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (84%, 82%, 0%, 0%).
In the HSV/HSB scale, #282DFF features a hue of 239°, 84% saturation, and 100% brightness.

Hex #282DFF Color Codes & Conversions

Closest Named Color
Blue Bonnet (#1C1CF0)
Hex Code #282DFF
Hex8 (RGBA Hex) #282DFFFF
RGB (CSS) rgb(40, 45, 255)
RGBA (CSS) rgba(40, 45, 255, 1)
HSL (CSS) hsl(239, 100%, 58%)
HSLA (CSS) hsla(239, 100%, 58%, 1)
HSV / HSB (239°, 84%, 100%)
CMYK Values (84%, 82%, 0%, 0%)
OKLCH (Modern CSS) oklch(48.7% 0.290 268.0)
CIE-LAB (D65) 37.01, 68.18, -99.96
CIE XYZ 19.86, 9.55, 95.38
Decimal / Binary 2633215
00101000 00101101 11111111

Closest Standards & Equivalents

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

#282DFF Grayscale Equivalents

Average
#717171
Lightness (Desaturation)
#949494
Weighted (BT601)
#434343
Luma (BT709)
#3B3B3B

WCAG 2.1 Color Contrast & Accessibility

Check how #282DFF 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 #282DFF

Sample preview of readable typography on top of #282DFF.

Contrast Ratio: 7.22:1
AA Pass AAA Pass

Black Text on #282DFF

Sample preview of readable typography on top of #282DFF.

Contrast Ratio: 2.91:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #282DFF

Preview #282DFF in real UI elements and copy ready-to-use CSS rules.

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

Hex #282DFF Color Palettes

Complementary Palette

The complementary color of #282DFF is #FFFA28. 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 #282DFF pairs with #2898FF and #8E28FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #282DFF pairs with #98FF28 and #FF8E28, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #282DFF uses #2DFF28 and #FF282D, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #282DFF combines #FF282D, #FFFA28 and #28FFFA around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #282DFF pairs with #FF2898, #FFFA28 and #28FF8E spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #282DFF

Tints

Tints are created by mixing #282DFF with white, producing lighter variations.

Tones

Tones are created by mixing #282DFF with gray, softening saturation.

Shades

Shades result from mixing #282DFF with black, creating deeper variations.

Hex #282DFF in Programming & CSS Frameworks

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

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