HSL(242, 90%, 85%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(242,90%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(242, 90%, 85%) | color: hsl(242, 90%, 85%) | |
| HEX | #B9B6FB | color: #B9B6FB | |
| RGB | rgb(185, 182, 251) | color: rgb(185, 182, 251) | |
| CMYK | cmyk(26%, 27%, 0%, 2%) | — | |
| HSV | hsv(243, 27%, 98%) | — | |
| HWB | hwb(243 72% 2%) | color: hwb(243 72% 2%) | |
| OKLCH | oklch(0.8035 0.0969 285.99) | color: oklch(0.8035 0.0969 285.99) | |
| Lab | lab(76.52 15.7 -33.71) | color: lab(76.52 15.7 -33.71) | |
| LCH | lch(76.52 37.19 294.97) | color: lch(76.52 37.19 294.97) |
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)
#B8B8EA — rgb(184, 184, 234)
Deuteranopia (Green-blind)
#B8B8E6 — rgb(184, 184, 230)
Tritanopia (Blue-blind)
#B9DDDA — rgb(185, 221, 218)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(242, 90%, 85%);
text
color: hsl(242, 90%, 85%);
border
border: 2px solid hsl(242, 90%, 85%);
gradient light
background: linear-gradient(to right, hsl(242, 90%, 100%), hsl(242, 90%, 85%));
gradient dark
background: linear-gradient(to right, hsl(242, 90%, 85%), hsl(242, 90%, 65%))
hex
background-color: #B9B6FB;
tailwind
bg-[hsl(242,90%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(242, 90%, 85%, 0.4);
css variable
--color-primary: hsl(242, 90%, 85%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(242, 90%, 85%)?
HEX: #B9B6FB | RGB: rgb(185, 182, 251) | CMYK: 26%, 27%, 0%, 2% | HSV: 243°, 27%, 98%. Copy any format from the conversion table above.
What colors go well with #B9B6FB?
The complementary color is HSL(62, 90%, 85%). For a triadic harmony, use hues 242°, 2°, and 122°. For analogous combinations, try hues 212° and 272°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(242, 90%, 85%) in CSS?
As HSL: color: hsl(242, 90%, 85%); — As HEX: color: #B9B6FB; — As RGB: color: rgb(185, 182, 251); — Tailwind CSS: bg-[hsl(242,90%,85%)] — CSS variable: --color-primary: hsl(242, 90%, 85%);