HSL(217, 97%, 84%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(217,97%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 97%, 84%) | color: hsl(217, 97%, 84%) | |
| HEX | #AFCDFE | color: #AFCDFE | |
| RGB | rgb(175, 205, 254) | color: rgb(175, 205, 254) | |
| CMYK | cmyk(31%, 19%, 0%, 0%) | — | |
| HSV | hsv(217, 31%, 100%) | — | |
| HWB | hwb(217 69% 0%) | color: hwb(217 69% 0%) | |
| OKLCH | oklch(0.8432 0.0762 260.14) | color: oklch(0.8432 0.0762 260.14) | |
| Lab | lab(81.8 1.07 -27.26) | color: lab(81.8 1.07 -27.26) | |
| LCH | lch(81.8 27.28 272.25) | color: lch(81.8 27.28 272.25) |
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)
#BCBCF2 — rgb(188, 188, 242)
Deuteranopia (Green-blind)
#BAB8EF — rgb(186, 184, 239)
Tritanopia (Blue-blind)
#B1E9E7 — rgb(177, 233, 231)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 97%, 84%);
text
color: hsl(217, 97%, 84%);
border
border: 2px solid hsl(217, 97%, 84%);
gradient light
background: linear-gradient(to right, hsl(217, 97%, 100%), hsl(217, 97%, 84%));
gradient dark
background: linear-gradient(to right, hsl(217, 97%, 84%), hsl(217, 97%, 64%))
hex
background-color: #AFCDFE;
tailwind
bg-[hsl(217,97%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 97%, 84%, 0.4);
css variable
--color-primary: hsl(217, 97%, 84%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(217, 97%, 84%)?
HEX: #AFCDFE | RGB: rgb(175, 205, 254) | CMYK: 31%, 19%, 0%, 0% | HSV: 217°, 31%, 100%. Copy any format from the conversion table above.
What colors go well with #AFCDFE?
The complementary color is HSL(37, 97%, 84%). 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, 97%, 84%) in CSS?
As HSL: color: hsl(217, 97%, 84%); — As HEX: color: #AFCDFE; — As RGB: color: rgb(175, 205, 254); — Tailwind CSS: bg-[hsl(217,97%,84%)] — CSS variable: --color-primary: hsl(217, 97%, 84%);