HSL(221, 95%, 84%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,95%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 95%, 84%) | color: hsl(221, 95%, 84%) | |
| HEX | #AFC8FD | color: #AFC8FD | |
| RGB | rgb(175, 200, 253) | color: rgb(175, 200, 253) | |
| CMYK | cmyk(31%, 21%, 0%, 1%) | — | |
| HSV | hsv(221, 31%, 99%) | — | |
| HWB | hwb(221 68% 1%) | color: hwb(221 68% 1%) | |
| OKLCH | oklch(0.8327 0.0796 265.02) | color: oklch(0.8327 0.0796 265.02) | |
| Lab | lab(80.47 3.51 -28.77) | color: lab(80.47 3.51 -28.77) | |
| LCH | lch(80.47 28.98 276.96) | color: lch(80.47 28.98 276.96) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#BABAF0 — rgb(186, 186, 240)
Deuteranopia (Green-blind)
#B8B7ED — rgb(184, 183, 237)
Tritanopia (Blue-blind)
#B0E6E4 — rgb(176, 230, 228)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 95%, 84%);
text
color: hsl(221, 95%, 84%);
border
border: 2px solid hsl(221, 95%, 84%);
gradient light
background: linear-gradient(to right, hsl(221, 95%, 100%), hsl(221, 95%, 84%));
gradient dark
background: linear-gradient(to right, hsl(221, 95%, 84%), hsl(221, 95%, 64%))
hex
background-color: #AFC8FD;
tailwind
bg-[hsl(221,95%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 95%, 84%, 0.4);
css variable
--color-primary: hsl(221, 95%, 84%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 95%, 84%)?
HEX: #AFC8FD | RGB: rgb(175, 200, 253) | CMYK: 31%, 21%, 0%, 1% | HSV: 221°, 31%, 99%. Copy any format from the conversion table above.
What colors go well with #AFC8FD?
The complementary color is HSL(41, 95%, 84%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 95%, 84%) in CSS?
As HSL: color: hsl(221, 95%, 84%); — As HEX: color: #AFC8FD; — As RGB: color: rgb(175, 200, 253); — Tailwind CSS: bg-[hsl(221,95%,84%)] — CSS variable: --color-primary: hsl(221, 95%, 84%);