#336699 color
#336699 is a muted blue colour. It is rgb(51, 102, 153) in RGB and hsl(210, 50%, 40%) in HSL. Text in white reads better on it: the contrast is 6.00:1 against white and 3.50: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{#336699}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{66}_{16}=102,\ B=\mathrm{99}_{16}=153 - 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.
210^\circ + 180^\circ = 30^\circ ;\Rightarrow; \mathrm{#996633} - 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{#336699} = \mathrm{rgb}(51, 102, 153) \]
\[ \mathrm{#336699}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{66}_{16}=102,\ B=\mathrm{99}_{16}=153 \]
\[ H=210^\circ,\quad S=50\%,\quad L=40\% \]
\[ 210^\circ + 180^\circ = 30^\circ ;\Rightarrow; \mathrm{#996633} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.00:1\ \text{(on white)} \]#336699 in every colour format
| Format | Value |
|---|---|
| HEX | #336699 |
| RGB | rgb(51, 102, 153) |
| RGB (percent) | rgb(20.0%, 40.0%, 60.0%) |
| HSL | hsl(210, 50%, 40%) |
| HSV / HSB | hsv(210, 67%, 60%) |
| CMYK | cmyk(67%, 33%, 0%, 40%) |
| Decimal | 3368601 |
| Description | muted 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 | 6.00:1 | pass | pass | fail | pass |
| Black text | 3.50:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #081119 #112233 #1A334D #224466 #2B5580 |
| This colour | #336699 |
| Tints (mixed with white) | #5580AA #7799BB #99B3CC #BBCCDD #DDE6EE |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #50699B | 6 |
| Deuteranopia | #425F98 | 8 |
| Tritanopia | #007278 | 32 |
| Grayscale | #636363 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Steel blue | #4682B4 |
| Slate gray | #708090 |
| Light slate gray | #778899 |
| Cornflower blue | #6495ED |
Questions
What is the RGB value of #336699?
rgb(51, 102, 153): red 51, green 102, blue 153.
What is the HSL value of #336699?
hsl(210, 50%, 40%): a hue of 210°, 50% saturation and 40% lightness.
What is the complementary colour of #336699?
#996633, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #CC9966.
Should I use white or black text on #336699?
White. White gives 6.00:1 and black 3.50:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #336699?
cmyk(67%, 33%, 0%, 40%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #336699?
Steel blue (#4682B4).