#22AACC color
#22AACC is a cyan colour. It is rgb(34, 170, 204) in RGB and hsl(192, 71%, 47%) in HSL. Text in black reads better on it: the contrast is 7.69:1 against black and 2.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{#22AACC}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{CC}_{16}=204 - 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.
192^\circ + 180^\circ = 12^\circ ;\Rightarrow; \mathrm{#CC4422} - 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{#22AACC} = \mathrm{rgb}(34, 170, 204) \]
\[ \mathrm{#22AACC}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{CC}_{16}=204 \]
\[ H=192^\circ,\quad S=71\%,\quad L=47\% \]
\[ 192^\circ + 180^\circ = 12^\circ ;\Rightarrow; \mathrm{#CC4422} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.73:1\ \text{(on white)} \]#22AACC in every colour format
| Format | Value |
|---|---|
| HEX | #22AACC |
| RGB | rgb(34, 170, 204) |
| RGB (percent) | rgb(13.3%, 66.7%, 80.0%) |
| HSL | hsl(192, 71%, 47%) |
| HSV / HSB | hsv(192, 83%, 80%) |
| CMYK | cmyk(83%, 17%, 0%, 20%) |
| Decimal | 2271948 |
| Description | cyan |
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 | 2.73:1 | fail | fail | fail | fail |
| Black text | 7.69:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #061C22 #0B3944 #115566 #177188 #1C8EAA |
| This colour | #22AACC |
| Tints (mixed with white) | #47B8D5 #6CC6DD #91D5E6 #B5E3EE #DAF1F7 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #95A5CE | 27 |
| Deuteranopia | #8096CC | 29 |
| Tritanopia | #00B5B5 | 22 |
| Grayscale | #9C9C9C | - |
Nearest named colours
| Name | Hex |
|---|---|
| Sky blue | #87CEEB |
| Deep sky blue | #00BFFF |
| Light sky blue | #87CEFA |
| Cadet blue | #5F9EA0 |
Questions
What is the RGB value of #22AACC?
rgb(34, 170, 204): red 34, green 170, blue 204.
What is the HSL value of #22AACC?
hsl(192, 71%, 47%): a hue of 192°, 71% saturation and 47% lightness.
What is the complementary colour of #22AACC?
#CC4422, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #DD5533.
Should I use white or black text on #22AACC?
Black. White gives 2.73:1 and black 7.69:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #22AACC?
cmyk(83%, 17%, 0%, 20%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #22AACC?
Sky blue (#87CEEB).