Palettes / Colors / #AFAFFF
#AFAFFF — Pale Vivid Blue
#AFAFFF is a blue color we call Pale Vivid Blue, closest to the named color LightBlue (#ADD8E6). It belongs to the blue family.
Color name
Closest CSS keyword: lightblue (#ADD8E6) — not an exact match. CSS lightblue gives you #ADD8E6, a different color; use #AFAFFF when you need this exact shade.
Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.
#AFAFFF is a cool blue color associated with trust, calm and professionalism. It is light enough to work as a background or base color, with darker text on top.
Its strongest partner is its complement #FFFFAD; it also sits naturally between #ADD6FF and #D6ADFF. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #AFAFFF |
|---|---|
| RGB | 175, 175, 255 |
| HSL | 240°, 100%, 84% |
| HSV | 240°, 31%, 100% |
| CMYK | 31%, 31%, 0%, 0% |
| XYZ | 51.06, 46.99, 100.99 |
| Yxy | 46.99, 0.2565, 0.2361 |
| CIE-Lab | 74.19, 17.73, -39.55 |
| Hunter Lab | 68.55, 16.91, -44.74 |
RGB & CMYK percentages
Red 69% · Green 69% · Blue 100%
Cyan 31% · Magenta 31% · Yellow 0% · Key 0%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #AFAFFF
.text { color: #AFAFFF; }
.background { background-color: #AFAFFF; }
.border { border: 3px solid #AFAFFF; }
.text-rgb { color: rgb(175, 175, 255); }
.text-hsl { color: hsl(240, 100%, 84%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AFAFFF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(175, 175, 255, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AFAFFF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(175, 175, 255, 0.8); }
HTML: <p style="color:#AFAFFF">Text here</p> · <div style="background-color:#AFAFFF">Div content here</div>
Shades of #AFAFFF
Tints of #AFAFFF
Tones of #AFAFFF
Color harmonies
Complementary — #FFFFAD:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 2.02:1 Fails |
|---|---|
| Against black text | 10.40:1 AAA |
Best text color on #AFAFFF: #000000.
Semi-transparent (opacity) text on #AFAFFF
Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:
Smaller body text shows the effect best.
Blended color: · Contrast against #AFAFFF: ·
How #AFAFFF looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #AFAFFF rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #AFAFFF?
#AFAFFF is Pale Vivid Blue, a blue color (RGB 175, 175, 255). Its closest standard named color is LightBlue.
What is the RGB and HSL of #AFAFFF?
#AFAFFF is RGB 175, 175, 255 — HSL 240°, 100%, 84% — CMYK 31%, 31%, 0%, 0%.
What colors go with #AFAFFF?
Its complement is #FFFFAD; analogous partners are #ADD6FF and #D6ADFF. It also appears in 6+ palettes in our collection.
Can I use #AFAFFF for text?
Black text on #AFAFFF has a contrast ratio of 10.40:1 (passes WCAG AA); white text gives 2.02:1.