#5555DD color
#5555DD is a blue colour. It is rgb(85, 85, 221) in RGB and hsl(240, 67%, 60%) in HSL. Text in white reads better on it: the contrast is 5.63:1 against white and 3.73: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{#5555DD}:\quad R=\mathrm{55}_{16}=85,\ G=\mathrm{55}_{16}=85,\ 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.
240^\circ + 180^\circ = 60^\circ ;\Rightarrow; \mathrm{#DDDD55} - 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{#5555DD} = \mathrm{rgb}(85, 85, 221) \]
\[ \mathrm{#5555DD}:\quad R=\mathrm{55}_{16}=85,\ G=\mathrm{55}_{16}=85,\ B=\mathrm{DD}_{16}=221 \]
\[ H=240^\circ,\quad S=67\%,\quad L=60\% \]
\[ 240^\circ + 180^\circ = 60^\circ ;\Rightarrow; \mathrm{#DDDD55} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.63:1\ \text{(on white)} \]#5555DD in every colour format
| Format | Value |
|---|---|
| HEX | #5555DD |
| RGB | rgb(85, 85, 221) |
| RGB (percent) | rgb(33.3%, 33.3%, 86.7%) |
| HSL | hsl(240, 67%, 60%) |
| HSV / HSB | hsv(240, 62%, 87%) |
| CMYK | cmyk(62%, 62%, 0%, 13%) |
| Decimal | 5592541 |
| 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.63:1 | pass | pass | fail | pass |
| Black text | 3.73:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #0E0E25 #1C1C4A #2B2B6F #393993 #4747B8 |
| This colour | #5555DD |
| Tints (mixed with white) | #7171E3 #8E8EE8 #AAAAEE #C6C6F4 #E3E3F9 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #006DE1 | 22 |
| Deuteranopia | #0061DA | 16 |
| Tritanopia | #007791 | 75 |
| Grayscale | #676767 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Medium slate blue | #7B68EE |
| Slate blue | #6A5ACD |
| Royal blue | #4169E1 |
| Medium purple | #9370DB |
Questions
What is the RGB value of #5555DD?
rgb(85, 85, 221): red 85, green 85, blue 221.
What is the HSL value of #5555DD?
hsl(240, 67%, 60%): a hue of 240°, 67% saturation and 60% lightness.
What is the complementary colour of #5555DD?
#DDDD55, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #AAAA22.
Should I use white or black text on #5555DD?
White. White gives 5.63:1 and black 3.73:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #5555DD?
cmyk(62%, 62%, 0%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #5555DD?
Medium slate blue (#7B68EE).