About #3311BB
#3311BB is a medium-dark, vivid violet with a hue angle of 252°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 187 (73%) 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.
- It can be written in 3-digit shorthand as
#31b.
Color conversions
| HEX | #3311BB |
|---|---|
| Short HEX | #31B |
| RGB | rgb(51, 17, 187) |
| RGB percent | rgb(20%, 6.7%, 73.3%) |
| HSL | hsl(252, 83%, 40%) |
| HSV / HSB | hsv(252, 91%, 73%) |
| CMYK | cmyk(73%, 91%, 0%, 27%) |
| CIELAB (D65) | lab(25.8 59.8 -79.4) |
| Decimal | 3346875 |
| Binary | 00110011 00010001 10111011 |
HEX 33 11 BB → 51, 17, 187 (each pair is a base-16 number: 3×16 + 3 = 51)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
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 #3311BB
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #3311BB | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 10.83:1 | Pass | Pass | Pass | Pass |
| Black text | 1.94:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0469 (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#0044bf
Deuteranopia#0036b8
Tritanopia#004e6e
Achromatopsia#3d3d3d
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 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
| Name | HEX | ΔE 2000 |
|---|---|---|
| mediumblue | #0000cd | 2.7 |
| blue | #0000ff | 7.5 |
| darkblue | #00008b | 8.2 |
| indigo | #4b0082 | 8.9 |
Nearby colors
#4411bbless red
#2211bbmore green
#3322bbless green
#3300bbmore blue
#3311ccless blue
#3311aalighter
#4422ccdarker
#2200aa
CSS
.element {
color: #3311bb;
background-color: rgb(51, 17, 187);
border: 1px solid hsl(252, 83%, 40%);
box-shadow: 0 2px 8px rgb(51 17 187 / 50%);
}
:root { --brand: #3311bb; }