HSL(217, 100%, 81%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(217,100%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 100%, 81%) | color: hsl(217, 100%, 81%) | |
| HEX | #9EC3FF | color: #9EC3FF | |
| RGB | rgb(158, 195, 255) | color: rgb(158, 195, 255) | |
| CMYK | cmyk(38%, 24%, 0%, 0%) | — | |
| HSV | hsv(217, 38%, 100%) | — | |
| HWB | hwb(217 62% 0%) | color: hwb(217 62% 0%) | |
| OKLCH | oklch(0.8123 0.0943 259.91) | color: oklch(0.8123 0.0943 259.91) | |
| Lab | lab(78.18 2.1 -33.44) | color: lab(78.18 2.1 -33.44) | |
| LCH | lch(78.18 33.51 273.59) | color: lch(78.18 33.51 273.59) |
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)
#AEAEF0 — rgb(174, 174, 240)
Deuteranopia (Green-blind)
#ACA9ED — rgb(172, 169, 237)
Tritanopia (Blue-blind)
#A0E5E3 — rgb(160, 229, 227)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 100%, 81%);
text
color: hsl(217, 100%, 81%);
border
border: 2px solid hsl(217, 100%, 81%);
gradient light
background: linear-gradient(to right, hsl(217, 100%, 100%), hsl(217, 100%, 81%));
gradient dark
background: linear-gradient(to right, hsl(217, 100%, 81%), hsl(217, 100%, 61%))
hex
background-color: #9EC3FF;
tailwind
bg-[hsl(217,100%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 100%, 81%, 0.4);
css variable
--color-primary: hsl(217, 100%, 81%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(217, 100%, 81%)?
HEX: #9EC3FF | RGB: rgb(158, 195, 255) | CMYK: 38%, 24%, 0%, 0% | HSV: 217°, 38%, 100%. Copy any format from the conversion table above.
What colors go well with #9EC3FF?
The complementary color is HSL(37, 100%, 81%). 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, 100%, 81%) in CSS?
As HSL: color: hsl(217, 100%, 81%); — As HEX: color: #9EC3FF; — As RGB: color: rgb(158, 195, 255); — Tailwind CSS: bg-[hsl(217,100%,81%)] — CSS variable: --color-primary: hsl(217, 100%, 81%);