#3333BB color

#3333BB is rgb(51, 51, 187) in RGB and hsl(240, 57%, 47%) in HSL. The closest CSS named color is mediumblue (#0000cd, ΔE 7.4). Use white text on it (contrast 9.01:1).

#3333BBindigo
HEX#3333BB
Short HEX#33B
RGBrgb(51, 51, 187)
RGB percentrgb(20%, 20%, 73.3%)
HSLhsl(240, 57%, 47%)
HSV / HSBhsv(240, 73%, 73%)
CMYKcmyk(73%, 73%, 0%, 27%)

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

About #3333BB

#3333BB is a medium, saturated indigo with a hue angle of 240°. 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 red the weakest at 51 (20%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#3333BB
Short HEX#33B
RGBrgb(51, 51, 187)
RGB percentrgb(20%, 20%, 73.3%)
HSLhsl(240, 57%, 47%)
HSV / HSBhsv(240, 73%, 73%)
CMYKcmyk(73%, 73%, 0%, 27%)
CIELAB (D65)lab(31 44.8 -70.8)
Decimal3355579
Binary00110011 00110011 10111011

HEX 33 33 BB → 51, 51, 187 (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 #3333BB

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #3333BBRatioAA normalAA largeAAA normalAAA large
White text9.01:1PassPassPassPass
Black text2.33:1FailFailFailFail
White text on #3333BB
Black text on #3333BB
#3333BB text on white
#3333BB text on black

Relative luminance is 0.0666 (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
#004fbf

Deuteranopia
#0042b9

Tritanopia
#005a74

Achromatopsia
#494949

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 6). 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
mediumblue#0000cd7.4
blue#0000ff8.4
darkslateblue#483d8b8.5
rebeccapurple#6633999.7

Nearby colors

CSS

.element {
  color: #3333bb;
  background-color: rgb(51, 51, 187);
  border: 1px solid hsl(240, 57%, 47%);
  box-shadow: 0 2px 8px rgb(51 51 187 / 50%);
}
:root { --brand: #3333bb; }

Frequently asked questions

What color is #3333BB?
A medium saturated indigo in the blue family. Closest CSS name: mediumblue.
What is #3333BB in RGB?
rgb(51, 51, 187): red 51, green 51, blue 187.
What is the complementary color of #3333BB?
#BBBB33, found by rotating the hue 180°.