HSL(235, 40%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(235,40%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(235, 40%, 79%) | color: hsl(235, 40%, 79%) | |
| HEX | #B4B8DF | color: #B4B8DF | |
| RGB | rgb(180, 184, 223) | color: rgb(180, 184, 223) | |
| CMYK | cmyk(19%, 17%, 0%, 13%) | — | |
| HSV | hsv(234, 19%, 87%) | — | |
| HWB | hwb(234 70% 13%) | color: hwb(234 70% 13%) | |
| OKLCH | oklch(0.7925 0.0553 280.45) | color: oklch(0.7925 0.0553 280.45) | |
| Lab | lab(75.64 6.66 -19.96) | color: lab(75.64 6.66 -19.96) | |
| LCH | lch(75.64 21.04 288.45) | color: lch(75.64 21.04 288.45) |
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)
#B6B6D6 — rgb(182, 182, 214)
Deuteranopia (Green-blind)
#B6B5D3 — rgb(182, 181, 211)
Tritanopia (Blue-blind)
#B4CECC — rgb(180, 206, 204)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(235, 40%, 79%);
text
color: hsl(235, 40%, 79%);
border
border: 2px solid hsl(235, 40%, 79%);
gradient light
background: linear-gradient(to right, hsl(235, 40%, 99%), hsl(235, 40%, 79%));
gradient dark
background: linear-gradient(to right, hsl(235, 40%, 79%), hsl(235, 40%, 59%))
hex
background-color: #B4B8DF;
tailwind
bg-[hsl(235,40%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(235, 40%, 79%, 0.4);
css variable
--color-primary: hsl(235, 40%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(235, 40%, 79%)?
HEX: #B4B8DF | RGB: rgb(180, 184, 223) | CMYK: 19%, 17%, 0%, 13% | HSV: 234°, 19%, 87%. Copy any format from the conversion table above.
What colors go well with #B4B8DF?
The complementary color is HSL(55, 40%, 79%). 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, 40%, 79%) in CSS?
As HSL: color: hsl(235, 40%, 79%); — As HEX: color: #B4B8DF; — As RGB: color: rgb(180, 184, 223); — Tailwind CSS: bg-[hsl(235,40%,79%)] — CSS variable: --color-primary: hsl(235, 40%, 79%);