HSL(252, 93%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,93%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 93%, 80%) | color: hsl(252, 93%, 80%) | |
| HEX | #B09DFB | color: #B09DFB | |
| RGB | rgb(176, 157, 251) | color: rgb(176, 157, 251) | |
| CMYK | cmyk(30%, 37%, 0%, 2%) | — | |
| HSV | hsv(252, 37%, 98%) | — | |
| HWB | hwb(252 62% 2%) | color: hwb(252 62% 2%) | |
| OKLCH | oklch(0.7493 0.1339 292.13) | color: oklch(0.7493 0.1339 292.13) | |
| Lab | lab(69.69 27.07 -44.39) | color: lab(69.69 27.07 -44.39) | |
| LCH | lch(69.69 51.99 301.38) | color: lch(69.69 51.99 301.38) |
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)
#A8A8E4 — rgb(168, 168, 228)
Deuteranopia (Green-blind)
#A9AADF — rgb(169, 170, 223)
Tritanopia (Blue-blind)
#AFD2CE — rgb(175, 210, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 93%, 80%);
text
color: hsl(252, 93%, 80%);
border
border: 2px solid hsl(252, 93%, 80%);
gradient light
background: linear-gradient(to right, hsl(252, 93%, 100%), hsl(252, 93%, 80%));
gradient dark
background: linear-gradient(to right, hsl(252, 93%, 80%), hsl(252, 93%, 60%))
hex
background-color: #B09DFB;
tailwind
bg-[hsl(252,93%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 93%, 80%, 0.4);
css variable
--color-primary: hsl(252, 93%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 93%, 80%)?
HEX: #B09DFB | RGB: rgb(176, 157, 251) | CMYK: 30%, 37%, 0%, 2% | HSV: 252°, 37%, 98%. Copy any format from the conversion table above.
What colors go well with #B09DFB?
The complementary color is HSL(72, 93%, 80%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(252, 93%, 80%) in CSS?
As HSL: color: hsl(252, 93%, 80%); — As HEX: color: #B09DFB; — As RGB: color: rgb(176, 157, 251); — Tailwind CSS: bg-[hsl(252,93%,80%)] — CSS variable: --color-primary: hsl(252, 93%, 80%);