#2288DD color
#2288DD is a blue colour. It is rgb(34, 136, 221) in RGB and hsl(207, 73%, 50%) in HSL. Text in black reads better on it: the contrast is 5.63:1 against black and 3.73:1 against white.
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{#2288DD}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{88}_{16}=136,\ 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.
207^\circ + 180^\circ = 27^\circ ;\Rightarrow; \mathrm{#DD7722} - 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{#2288DD} = \mathrm{rgb}(34, 136, 221) \]
\[ \mathrm{#2288DD}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{88}_{16}=136,\ B=\mathrm{DD}_{16}=221 \]
\[ H=207^\circ,\quad S=73\%,\quad L=50\% \]
\[ 207^\circ + 180^\circ = 27^\circ ;\Rightarrow; \mathrm{#DD7722} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 3.73:1\ \text{(on white)} \]#2288DD in every colour format
| Format | Value |
|---|---|
| HEX | #2288DD |
| RGB | rgb(34, 136, 221) |
| RGB (percent) | rgb(13.3%, 53.3%, 86.7%) |
| HSL | hsl(207, 73%, 50%) |
| HSV / HSB | hsv(207, 85%, 87%) |
| CMYK | cmyk(85%, 38%, 0%, 13%) |
| Decimal | 2263261 |
| 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 | 3.73:1 | fail | pass | fail | fail |
| Black text | 5.63:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #061725 #0B2D4A #11446F #175B93 #1C71B8 |
| This colour | #2288DD |
| Tints (mixed with white) | #479CE3 #6CB0E8 #91C4EE #B5D7F4 #DAEBF9 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #5F8DE0 | 9 |
| Deuteranopia | #417DDB | 10 |
| Tritanopia | #009CA8 | 48 |
| Grayscale | #848484 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Cornflower blue | #6495ED |
| Dodger blue | #1E90FF |
| Steel blue | #4682B4 |
| Deep sky blue | #00BFFF |
Questions
What is the RGB value of #2288DD?
rgb(34, 136, 221): red 34, green 136, blue 221.
What is the HSL value of #2288DD?
hsl(207, 73%, 50%): a hue of 207°, 73% saturation and 50% lightness.
What is the complementary colour of #2288DD?
#DD7722, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #DD7722.
Should I use white or black text on #2288DD?
Black. White gives 3.73:1 and black 5.63:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #2288DD?
cmyk(85%, 38%, 0%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #2288DD?
Cornflower blue (#6495ED).