HSL(226, 52%, 81%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(226,52%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 52%, 81%) | color: hsl(226, 52%, 81%) | |
| HEX | #B5C1E8 | color: #B5C1E8 | |
| RGB | rgb(181, 193, 232) | color: rgb(181, 193, 232) | |
| CMYK | cmyk(22%, 17%, 0%, 9%) | — | |
| HSV | hsv(226, 22%, 91%) | — | |
| HWB | hwb(226 71% 9%) | color: hwb(226 71% 9%) | |
| OKLCH | oklch(0.8147 0.0566 271.68) | color: oklch(0.8147 0.0566 271.68) | |
| Lab | lab(78.34 4.1 -20.73) | color: lab(78.34 4.1 -20.73) | |
| LCH | lch(78.34 21.13 281.19) | color: lch(78.34 21.13 281.19) |
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)
#BABADF — rgb(186, 186, 223)
Deuteranopia (Green-blind)
#BAB9DC — rgb(186, 185, 220)
Tritanopia (Blue-blind)
#B6D7D5 — rgb(182, 215, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 52%, 81%);
text
color: hsl(226, 52%, 81%);
border
border: 2px solid hsl(226, 52%, 81%);
gradient light
background: linear-gradient(to right, hsl(226, 52%, 100%), hsl(226, 52%, 81%));
gradient dark
background: linear-gradient(to right, hsl(226, 52%, 81%), hsl(226, 52%, 61%))
hex
background-color: #B5C1E8;
tailwind
bg-[hsl(226,52%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 52%, 81%, 0.4);
css variable
--color-primary: hsl(226, 52%, 81%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 52%, 81%)?
HEX: #B5C1E8 | RGB: rgb(181, 193, 232) | CMYK: 22%, 17%, 0%, 9% | HSV: 226°, 22%, 91%. Copy any format from the conversion table above.
What colors go well with #B5C1E8?
The complementary color is HSL(46, 52%, 81%). For a triadic harmony, use hues 226°, 346°, and 106°. For analogous combinations, try hues 196° and 256°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(226, 52%, 81%) in CSS?
As HSL: color: hsl(226, 52%, 81%); — As HEX: color: #B5C1E8; — As RGB: color: rgb(181, 193, 232); — Tailwind CSS: bg-[hsl(226,52%,81%)] — CSS variable: --color-primary: hsl(226, 52%, 81%);