#CCDDFF color
#CCDDFF is a very light blue colour. It is rgb(204, 221, 255) in RGB and hsl(220, 100%, 90%) in HSL. Text in black reads better on it: the contrast is 15.35:1 against black and 1.37: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{#CCDDFF}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{DD}_{16}=221,\ B=\mathrm{FF}_{16}=255 - 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.
220^\circ + 180^\circ = 40^\circ ;\Rightarrow; \mathrm{#FFEECC} - 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{#CCDDFF} = \mathrm{rgb}(204, 221, 255) \]
\[ \mathrm{#CCDDFF}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{DD}_{16}=221,\ B=\mathrm{FF}_{16}=255 \]
\[ H=220^\circ,\quad S=100\%,\quad L=90\% \]
\[ 220^\circ + 180^\circ = 40^\circ ;\Rightarrow; \mathrm{#FFEECC} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.37:1\ \text{(on white)} \]#CCDDFF in every colour format
| Format | Value |
|---|---|
| HEX | #CCDDFF |
| RGB | rgb(204, 221, 255) |
| RGB (percent) | rgb(80.0%, 86.7%, 100.0%) |
| HSL | hsl(220, 100%, 90%) |
| HSV / HSB | hsv(220, 20%, 100%) |
| CMYK | cmyk(20%, 13%, 0%, 0%) |
| Decimal | 13426175 |
| Description | very light 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 | 1.37:1 | fail | fail | fail | fail |
| Black text | 15.35:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #22252A #444A55 #666F80 #8893AA #AAB8D5 |
| This colour | #CCDDFF |
| Tints (mixed with white) | #D5E3FF #DDE8FF #E6EEFF #EEF4FF #F7F9FF |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #D3DFFF | 2 |
| Deuteranopia | #CEDAFE | 2 |
| Tritanopia | #BFE4E8 | 17 |
| Grayscale | #DCDCDC | - |
Nearest named colours
| Name | Hex |
|---|---|
| Lavender | #E6E6FA |
| Light steel blue | #B0C4DE |
| Light blue | #ADD8E6 |
| Thistle | #D8BFD8 |
Questions
What is the RGB value of #CCDDFF?
rgb(204, 221, 255): red 204, green 221, blue 255.
What is the HSL value of #CCDDFF?
hsl(220, 100%, 90%): a hue of 220°, 100% saturation and 90% lightness.
What is the complementary colour of #CCDDFF?
#FFEECC, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #332200.
Should I use white or black text on #CCDDFF?
Black. White gives 1.37:1 and black 15.35:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #CCDDFF?
cmyk(20%, 13%, 0%, 0%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #CCDDFF?
Lavender (#E6E6FA).