HSL(236, 91%, 77%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(236,91%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(236, 91%, 77%) | color: hsl(236, 91%, 77%) | |
| HEX | #8F96FA | color: #8F96FA | |
| RGB | rgb(143, 150, 250) | color: rgb(143, 150, 250) | |
| CMYK | cmyk(43%, 40%, 0%, 2%) | — | |
| HSV | hsv(236, 43%, 98%) | — | |
| HWB | hwb(236 56% 2%) | color: hwb(236 56% 2%) | |
| OKLCH | oklch(0.7102 0.145 278.98) | color: oklch(0.7102 0.145 278.98) | |
| Lab | lab(65.4 22.22 -50.78) | color: lab(65.4 22.22 -50.78) | |
| LCH | lch(65.4 55.43 293.63) | color: lch(65.4 55.43 293.63) |
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)
#9292E2 — rgb(146, 146, 226)
Deuteranopia (Green-blind)
#9291DC — rgb(146, 145, 220)
Tritanopia (Blue-blind)
#8FCFCB — rgb(143, 207, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(236, 91%, 77%);
text
color: hsl(236, 91%, 77%);
border
border: 2px solid hsl(236, 91%, 77%);
gradient light
background: linear-gradient(to right, hsl(236, 91%, 97%), hsl(236, 91%, 77%));
gradient dark
background: linear-gradient(to right, hsl(236, 91%, 77%), hsl(236, 91%, 57%))
hex
background-color: #8F96FA;
tailwind
bg-[hsl(236,91%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(236, 91%, 77%, 0.4);
css variable
--color-primary: hsl(236, 91%, 77%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(236, 91%, 77%)?
HEX: #8F96FA | RGB: rgb(143, 150, 250) | CMYK: 43%, 40%, 0%, 2% | HSV: 236°, 43%, 98%. Copy any format from the conversion table above.
What colors go well with #8F96FA?
The complementary color is HSL(56, 91%, 77%). For a triadic harmony, use hues 236°, 356°, and 116°. For analogous combinations, try hues 206° and 266°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(236, 91%, 77%) in CSS?
As HSL: color: hsl(236, 91%, 77%); — As HEX: color: #8F96FA; — As RGB: color: rgb(143, 150, 250); — Tailwind CSS: bg-[hsl(236,91%,77%)] — CSS variable: --color-primary: hsl(236, 91%, 77%);