HSL(238, 85%, 85%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(238,85%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(238, 85%, 85%) | color: hsl(238, 85%, 85%) | |
| HEX | #B8BAF9 | color: #B8BAF9 | |
| RGB | rgb(184, 186, 249) | color: rgb(184, 186, 249) | |
| CMYK | cmyk(26%, 25%, 0%, 2%) | — | |
| HSV | hsv(238, 26%, 98%) | — | |
| HWB | hwb(238 73% 2%) | color: hwb(238 73% 2%) | |
| OKLCH | oklch(0.8096 0.0886 282.81) | color: oklch(0.8096 0.0886 282.81) | |
| Lab | lab(77.37 12.74 -31.33) | color: lab(77.37 12.74 -31.33) | |
| LCH | lch(77.37 33.82 292.13) | color: lch(77.37 33.82 292.13) |
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)
#B9B9EA — rgb(185, 185, 234)
Deuteranopia (Green-blind)
#B9B9E6 — rgb(185, 185, 230)
Tritanopia (Blue-blind)
#B8DEDB — rgb(184, 222, 219)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(238, 85%, 85%);
text
color: hsl(238, 85%, 85%);
border
border: 2px solid hsl(238, 85%, 85%);
gradient light
background: linear-gradient(to right, hsl(238, 85%, 100%), hsl(238, 85%, 85%));
gradient dark
background: linear-gradient(to right, hsl(238, 85%, 85%), hsl(238, 85%, 65%))
hex
background-color: #B8BAF9;
tailwind
bg-[hsl(238,85%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(238, 85%, 85%, 0.4);
css variable
--color-primary: hsl(238, 85%, 85%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(238, 85%, 85%)?
HEX: #B8BAF9 | RGB: rgb(184, 186, 249) | CMYK: 26%, 25%, 0%, 2% | HSV: 238°, 26%, 98%. Copy any format from the conversion table above.
What colors go well with #B8BAF9?
The complementary color is HSL(58, 85%, 85%). For a triadic harmony, use hues 238°, 358°, and 118°. For analogous combinations, try hues 208° and 268°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(238, 85%, 85%) in CSS?
As HSL: color: hsl(238, 85%, 85%); — As HEX: color: #B8BAF9; — As RGB: color: rgb(184, 186, 249); — Tailwind CSS: bg-[hsl(238,85%,85%)] — CSS variable: --color-primary: hsl(238, 85%, 85%);