HSL(228, 90%, 84%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(228,90%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(228, 90%, 84%) | color: hsl(228, 90%, 84%) | |
| HEX | #B1C0FB | color: #B1C0FB | |
| RGB | rgb(177, 192, 251) | color: rgb(177, 192, 251) | |
| CMYK | cmyk(29%, 24%, 0%, 2%) | — | |
| HSV | hsv(228, 29%, 98%) | — | |
| HWB | hwb(228 70% 2%) | color: hwb(228 70% 2%) | |
| OKLCH | oklch(0.8172 0.0851 273.34) | color: oklch(0.8172 0.0851 273.34) | |
| Lab | lab(78.47 7.92 -30.76) | color: lab(78.47 7.92 -30.76) | |
| LCH | lch(78.47 31.76 284.44) | color: lch(78.47 31.76 284.44) |
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)
#B7B8ED — rgb(183, 184, 237)
Deuteranopia (Green-blind)
#B7B6E9 — rgb(183, 182, 233)
Tritanopia (Blue-blind)
#B2E1DF — rgb(178, 225, 223)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(228, 90%, 84%);
text
color: hsl(228, 90%, 84%);
border
border: 2px solid hsl(228, 90%, 84%);
gradient light
background: linear-gradient(to right, hsl(228, 90%, 100%), hsl(228, 90%, 84%));
gradient dark
background: linear-gradient(to right, hsl(228, 90%, 84%), hsl(228, 90%, 64%))
hex
background-color: #B1C0FB;
tailwind
bg-[hsl(228,90%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(228, 90%, 84%, 0.4);
css variable
--color-primary: hsl(228, 90%, 84%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(228, 90%, 84%)?
HEX: #B1C0FB | RGB: rgb(177, 192, 251) | CMYK: 29%, 24%, 0%, 2% | HSV: 228°, 29%, 98%. Copy any format from the conversion table above.
What colors go well with #B1C0FB?
The complementary color is HSL(48, 90%, 84%). For a triadic harmony, use hues 228°, 348°, and 108°. For analogous combinations, try hues 198° and 258°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(228, 90%, 84%) in CSS?
As HSL: color: hsl(228, 90%, 84%); — As HEX: color: #B1C0FB; — As RGB: color: rgb(177, 192, 251); — Tailwind CSS: bg-[hsl(228,90%,84%)] — CSS variable: --color-primary: hsl(228, 90%, 84%);