HSL(232, 98%, 77%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,98%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 98%, 77%) | color: hsl(232, 98%, 77%) | |
| HEX | #8B9AFE | color: #8B9AFE | |
| RGB | rgb(139, 154, 254) | color: rgb(139, 154, 254) | |
| CMYK | cmyk(45%, 39%, 0%, 0%) | — | |
| HSV | hsv(232, 45%, 100%) | — | |
| HWB | hwb(232 55% 0%) | color: hwb(232 55% 0%) | |
| OKLCH | oklch(0.7173 0.1461 275.63) | color: oklch(0.7173 0.1461 275.63) | |
| Lab | lab(66.33 20.09 -51.5) | color: lab(66.33 20.09 -51.5) | |
| LCH | lch(66.33 55.28 291.31) | color: lch(66.33 55.28 291.31) |
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)
#9192E6 — rgb(145, 146, 230)
Deuteranopia (Green-blind)
#9190E0 — rgb(145, 144, 224)
Tritanopia (Blue-blind)
#8CD3CF — rgb(140, 211, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 98%, 77%);
text
color: hsl(232, 98%, 77%);
border
border: 2px solid hsl(232, 98%, 77%);
gradient light
background: linear-gradient(to right, hsl(232, 98%, 97%), hsl(232, 98%, 77%));
gradient dark
background: linear-gradient(to right, hsl(232, 98%, 77%), hsl(232, 98%, 57%))
hex
background-color: #8B9AFE;
tailwind
bg-[hsl(232,98%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 98%, 77%, 0.4);
css variable
--color-primary: hsl(232, 98%, 77%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 98%, 77%)?
HEX: #8B9AFE | RGB: rgb(139, 154, 254) | CMYK: 45%, 39%, 0%, 0% | HSV: 232°, 45%, 100%. Copy any format from the conversion table above.
What colors go well with #8B9AFE?
The complementary color is HSL(52, 98%, 77%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 98%, 77%) in CSS?
As HSL: color: hsl(232, 98%, 77%); — As HEX: color: #8B9AFE; — As RGB: color: rgb(139, 154, 254); — Tailwind CSS: bg-[hsl(232,98%,77%)] — CSS variable: --color-primary: hsl(232, 98%, 77%);