HSL(235, 52%, 81%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(235,52%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(235, 52%, 81%) | color: hsl(235, 52%, 81%) | |
| HEX | #B5BAE8 | color: #B5BAE8 | |
| RGB | rgb(181, 186, 232) | color: rgb(181, 186, 232) | |
| CMYK | cmyk(22%, 20%, 0%, 9%) | — | |
| HSV | hsv(234, 22%, 91%) | — | |
| HWB | hwb(234 71% 9%) | color: hwb(234 71% 9%) | |
| OKLCH | oklch(0.8006 0.0652 279.96) | color: oklch(0.8006 0.0652 279.96) | |
| Lab | lab(76.54 7.9 -23.47) | color: lab(76.54 7.9 -23.47) | |
| LCH | lch(76.54 24.76 288.6) | color: lch(76.54 24.76 288.6) |
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)
#B7B7DD — rgb(183, 183, 221)
Deuteranopia (Green-blind)
#B7B7DA — rgb(183, 183, 218)
Tritanopia (Blue-blind)
#B5D4D2 — rgb(181, 212, 210)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(235, 52%, 81%);
text
color: hsl(235, 52%, 81%);
border
border: 2px solid hsl(235, 52%, 81%);
gradient light
background: linear-gradient(to right, hsl(235, 52%, 100%), hsl(235, 52%, 81%));
gradient dark
background: linear-gradient(to right, hsl(235, 52%, 81%), hsl(235, 52%, 61%))
hex
background-color: #B5BAE8;
tailwind
bg-[hsl(235,52%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(235, 52%, 81%, 0.4);
css variable
--color-primary: hsl(235, 52%, 81%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(235, 52%, 81%)?
HEX: #B5BAE8 | RGB: rgb(181, 186, 232) | CMYK: 22%, 20%, 0%, 9% | HSV: 234°, 22%, 91%. Copy any format from the conversion table above.
What colors go well with #B5BAE8?
The complementary color is HSL(55, 52%, 81%). For a triadic harmony, use hues 235°, 355°, and 115°. For analogous combinations, try hues 205° and 265°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(235, 52%, 81%) in CSS?
As HSL: color: hsl(235, 52%, 81%); — As HEX: color: #B5BAE8; — As RGB: color: rgb(181, 186, 232); — Tailwind CSS: bg-[hsl(235,52%,81%)] — CSS variable: --color-primary: hsl(235, 52%, 81%);