#5522FF color

#5522FF is rgb(85, 34, 255) in RGB and hsl(254, 100%, 57%) in HSL. The closest CSS named color is blue (#0000ff, ΔE 5.4). Use white text on it (contrast 6.86:1).

#5522FFviolet
HEX#5522FF
Short HEX#52F
RGBrgb(85, 34, 255)
RGB percentrgb(33.3%, 13.3%, 100%)
HSLhsl(254, 100%, 57%)
HSV / HSBhsv(254, 87%, 100%)
CMYKcmyk(67%, 87%, 0%, 0%)

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

About #5522FF

#5522FF is a medium, vivid violet with a hue angle of 254°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 255 (100%) and green the weakest at 34 (13%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#5522FF
Short HEX#52F
RGBrgb(85, 34, 255)
RGB percentrgb(33.3%, 13.3%, 100%)
HSLhsl(254, 100%, 57%)
HSV / HSBhsv(254, 87%, 100%)
CMYKcmyk(67%, 87%, 0%, 0%)
CIELAB (D65)lab(38.4 74.3 -97.6)
Decimal5579519
Binary01010101 00100010 11111111

HEX 55 22 FF → 85, 34, 255 (each pair is a base-16 number: 5×16 + 5 = 85)

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 #5522FF

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #5522FFRatioAA normalAA largeAAA normalAAA large
White text6.86:1PassPassFailPass
Black text3.06:1FailPassFailFail
White text on #5522FF
Black text on #5522FF
#5522FF text on white
#5522FF text on black

Relative luminance is 0.1030 (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
#0062ff

Deuteranopia
#0052fb

Tritanopia
#006e98

Achromatopsia
#5a5a5a

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 10.4). 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#0000ff5.4
blueviolet#8a2be27.4
darkviolet#9400d39.5
mediumblue#0000cd10.7

Nearby colors

CSS

.element {
  color: #5522ff;
  background-color: rgb(85, 34, 255);
  border: 1px solid hsl(254, 100%, 57%);
  box-shadow: 0 2px 8px rgb(85 34 255 / 50%);
}
:root { --brand: #5522ff; }

Frequently asked questions

What color is #5522FF?
A medium vivid violet in the blue family. Closest CSS name: blue.
What is #5522FF in RGB?
rgb(85, 34, 255): red 85, green 34, blue 255.
What is the complementary color of #5522FF?
#CCFF22, found by rotating the hue 180°.