#3366DD color
#3366DD is a blue colour. It is rgb(51, 102, 221) in RGB and hsl(222, 71%, 53%) in HSL. Text in white reads better on it: the contrast is 5.14:1 against white and 4.09:1 against black.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#3366DD}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{66}_{16}=102,\ B=\mathrm{DD}_{16}=221 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
222^\circ + 180^\circ = 42^\circ ;\Rightarrow; \mathrm{#DDAA33} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#3366DD} = \mathrm{rgb}(51, 102, 221) \]
\[ \mathrm{#3366DD}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{66}_{16}=102,\ B=\mathrm{DD}_{16}=221 \]
\[ H=222^\circ,\quad S=71\%,\quad L=53\% \]
\[ 222^\circ + 180^\circ = 42^\circ ;\Rightarrow; \mathrm{#DDAA33} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.14:1\ \text{(on white)} \]#3366DD in every colour format
| Format | Value |
|---|---|
| HEX | #3366DD |
| RGB | rgb(51, 102, 221) |
| RGB (percent) | rgb(20.0%, 40.0%, 86.7%) |
| HSL | hsl(222, 71%, 53%) |
| HSV / HSB | hsv(222, 77%, 87%) |
| CMYK | cmyk(77%, 54%, 0%, 13%) |
| Decimal | 3368669 |
| Description | blue |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 5.14:1 | pass | pass | fail | pass |
| Black text | 4.09:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #081125 #11224A #1A336F #224493 #2B55B8 |
| This colour | #3366DD |
| Tints (mixed with white) | #5580E3 #7799E8 #99B3EE #BBCCF4 #DDE6F9 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #0076E1 | 12 |
| Deuteranopia | #0066DB | 4 |
| Tritanopia | #008398 | 66 |
| Grayscale | #6D6D6D | - |
Nearest named colours
| Name | Hex |
|---|---|
| Royal blue | #4169E1 |
| Slate blue | #6A5ACD |
| Medium slate blue | #7B68EE |
| Dodger blue | #1E90FF |
Questions
What is the RGB value of #3366DD?
rgb(51, 102, 221): red 51, green 102, blue 221.
What is the HSL value of #3366DD?
hsl(222, 71%, 53%): a hue of 222°, 71% saturation and 53% lightness.
What is the complementary colour of #3366DD?
#DDAA33, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #CC9922.
Should I use white or black text on #3366DD?
White. White gives 5.14:1 and black 4.09:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #3366DD?
cmyk(77%, 54%, 0%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #3366DD?
Royal blue (#4169E1).