HSL(215, 42%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(215,42%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(215, 42%, 80%) | color: hsl(215, 42%, 80%) | |
| HEX | #B7C8E1 | color: #B7C8E1 | |
| RGB | rgb(183, 200, 225) | color: rgb(183, 200, 225) | |
| CMYK | cmyk(19%, 11%, 0%, 12%) | — | |
| HSV | hsv(216, 19%, 88%) | — | |
| HWB | hwb(216 71% 12%) | color: hwb(216 71% 12%) | |
| OKLCH | oklch(0.8279 0.0398 257.92) | color: oklch(0.8279 0.0398 257.92) | |
| Lab | lab(80.07 -0.58 -14.34) | color: lab(80.07 -0.58 -14.34) | |
| LCH | lch(80.07 14.35 267.68) | color: lch(80.07 14.35 267.68) |
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)
#BEBFDB — rgb(190, 191, 219)
Deuteranopia (Green-blind)
#BDBCDA — rgb(189, 188, 218)
Tritanopia (Blue-blind)
#B8D6D5 — rgb(184, 214, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(215, 42%, 80%);
text
color: hsl(215, 42%, 80%);
border
border: 2px solid hsl(215, 42%, 80%);
gradient light
background: linear-gradient(to right, hsl(215, 42%, 100%), hsl(215, 42%, 80%));
gradient dark
background: linear-gradient(to right, hsl(215, 42%, 80%), hsl(215, 42%, 60%))
hex
background-color: #B7C8E1;
tailwind
bg-[hsl(215,42%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(215, 42%, 80%, 0.4);
css variable
--color-primary: hsl(215, 42%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(215, 42%, 80%)?
HEX: #B7C8E1 | RGB: rgb(183, 200, 225) | CMYK: 19%, 11%, 0%, 12% | HSV: 216°, 19%, 88%. Copy any format from the conversion table above.
What colors go well with #B7C8E1?
The complementary color is HSL(35, 42%, 80%). For a triadic harmony, use hues 215°, 335°, and 95°. For analogous combinations, try hues 185° and 245°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(215, 42%, 80%) in CSS?
As HSL: color: hsl(215, 42%, 80%); — As HEX: color: #B7C8E1; — As RGB: color: rgb(183, 200, 225); — Tailwind CSS: bg-[hsl(215,42%,80%)] — CSS variable: --color-primary: hsl(215, 42%, 80%);