HSL(217, 56%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(217,56%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 56%, 80%) | color: hsl(217, 56%, 80%) | |
| HEX | #AFC5E9 | color: #AFC5E9 | |
| RGB | rgb(175, 197, 233) | color: rgb(175, 197, 233) | |
| CMYK | cmyk(25%, 15%, 0%, 9%) | — | |
| HSV | hsv(217, 25%, 91%) | — | |
| HWB | hwb(217 68% 9%) | color: hwb(217 68% 9%) | |
| OKLCH | oklch(0.8189 0.0563 260.24) | color: oklch(0.8189 0.0563 260.24) | |
| Lab | lab(79 0.37 -20.3) | color: lab(79 0.37 -20.3) | |
| LCH | lch(79 20.3 271.04) | color: lch(79 20.3 271.04) |
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)
#B9B9E0 — rgb(185, 185, 224)
Deuteranopia (Green-blind)
#B7B6DE — rgb(183, 182, 222)
Tritanopia (Blue-blind)
#B0D9D8 — rgb(176, 217, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 56%, 80%);
text
color: hsl(217, 56%, 80%);
border
border: 2px solid hsl(217, 56%, 80%);
gradient light
background: linear-gradient(to right, hsl(217, 56%, 100%), hsl(217, 56%, 80%));
gradient dark
background: linear-gradient(to right, hsl(217, 56%, 80%), hsl(217, 56%, 60%))
hex
background-color: #AFC5E9;
tailwind
bg-[hsl(217,56%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 56%, 80%, 0.4);
css variable
--color-primary: hsl(217, 56%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(217, 56%, 80%)?
HEX: #AFC5E9 | RGB: rgb(175, 197, 233) | CMYK: 25%, 15%, 0%, 9% | HSV: 217°, 25%, 91%. Copy any format from the conversion table above.
What colors go well with #AFC5E9?
The complementary color is HSL(37, 56%, 80%). For a triadic harmony, use hues 217°, 337°, and 97°. For analogous combinations, try hues 187° and 247°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(217, 56%, 80%) in CSS?
As HSL: color: hsl(217, 56%, 80%); — As HEX: color: #AFC5E9; — As RGB: color: rgb(175, 197, 233); — Tailwind CSS: bg-[hsl(217,56%,80%)] — CSS variable: --color-primary: hsl(217, 56%, 80%);