HSL(221, 92%, 77%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,92%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 92%, 77%) | color: hsl(221, 92%, 77%) | |
| HEX | #8EB1FA | color: #8EB1FA | |
| RGB | rgb(142, 177, 250) | color: rgb(142, 177, 250) | |
| CMYK | cmyk(43%, 29%, 0%, 2%) | — | |
| HSV | hsv(221, 43%, 98%) | — | |
| HWB | hwb(221 56% 2%) | color: hwb(221 56% 2%) | |
| OKLCH | oklch(0.7632 0.1123 264.27) | color: oklch(0.7632 0.1123 264.27) | |
| Lab | lab(72.29 6.59 -39.96) | color: lab(72.29 6.59 -39.96) | |
| LCH | lch(72.29 40.5 279.36) | color: lch(72.29 40.5 279.36) |
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)
#9D9DE8 — rgb(157, 157, 232)
Deuteranopia (Green-blind)
#9B99E4 — rgb(155, 153, 228)
Tritanopia (Blue-blind)
#90DAD7 — rgb(144, 218, 215)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 92%, 77%);
text
color: hsl(221, 92%, 77%);
border
border: 2px solid hsl(221, 92%, 77%);
gradient light
background: linear-gradient(to right, hsl(221, 92%, 97%), hsl(221, 92%, 77%));
gradient dark
background: linear-gradient(to right, hsl(221, 92%, 77%), hsl(221, 92%, 57%))
hex
background-color: #8EB1FA;
tailwind
bg-[hsl(221,92%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 92%, 77%, 0.4);
css variable
--color-primary: hsl(221, 92%, 77%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 92%, 77%)?
HEX: #8EB1FA | RGB: rgb(142, 177, 250) | CMYK: 43%, 29%, 0%, 2% | HSV: 221°, 43%, 98%. Copy any format from the conversion table above.
What colors go well with #8EB1FA?
The complementary color is HSL(41, 92%, 77%). 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, 92%, 77%) in CSS?
As HSL: color: hsl(221, 92%, 77%); — As HEX: color: #8EB1FA; — As RGB: color: rgb(142, 177, 250); — Tailwind CSS: bg-[hsl(221,92%,77%)] — CSS variable: --color-primary: hsl(221, 92%, 77%);