#3311DD color

#3311DD is rgb(51, 17, 221) in RGB and hsl(250, 86%, 47%) in HSL. The closest CSS named color is blue (#0000ff, ΔE 3.4). Use white text on it (contrast 9.27:1).

#3311DDviolet
HEX#3311DD
Short HEX#31D
RGBrgb(51, 17, 221)
RGB percentrgb(20%, 6.7%, 86.7%)
HSLhsl(250, 86%, 47%)
HSV / HSBhsv(250, 92%, 87%)
CMYKcmyk(77%, 92%, 0%, 13%)

Edit in the color converter → · Check contrast → · Shades →

About #3311DD

#3311DD is a medium, vivid violet with a hue angle of 250°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 221 (87%) and green the weakest at 17 (7%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#3311DD
Short HEX#31D
RGBrgb(51, 17, 221)
RGB percentrgb(20%, 6.7%, 86.7%)
HSLhsl(250, 86%, 47%)
HSV / HSBhsv(250, 92%, 87%)
CMYKcmyk(77%, 92%, 0%, 13%)
CIELAB (D65)lab(30.2 68.7 -92)
Decimal3346909
Binary00110011 00010001 11011101

HEX 33 11 DD → 51, 17, 221 (each pair is a base-16 number: 3×16 + 3 = 51)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #3311DD

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #3311DDRatioAA normalAA largeAAA normalAAA large
White text9.27:1PassPassPassPass
Black text2.27:1FailFailFailFail
White text on #3311DD
Black text on #3311DD
#3311DD text on white
#3311DD text on black

Relative luminance is 0.0633 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#0050e2

Deuteranopia
#003dda

Tritanopia
#005d82

Achromatopsia
#474747

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 7.8). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
blue#0000ff3.4
mediumblue#0000cd4
blueviolet#8a2be211.8
rebeccapurple#66339911.9

Nearby colors

CSS

.element {
  color: #3311dd;
  background-color: rgb(51, 17, 221);
  border: 1px solid hsl(250, 86%, 47%);
  box-shadow: 0 2px 8px rgb(51 17 221 / 50%);
}
:root { --brand: #3311dd; }

Frequently asked questions

What color is #3311DD?
A medium vivid violet in the blue family. Closest CSS name: blue.
What is #3311DD in RGB?
rgb(51, 17, 221): red 51, green 17, blue 221.
What is the complementary color of #3311DD?
#BBDD11, found by rotating the hue 180°.