HSL(218, 45%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(218,45%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 45%, 80%) | color: hsl(218, 45%, 80%) | |
| HEX | #B5C6E3 | color: #B5C6E3 | |
| RGB | rgb(181, 198, 227) | color: rgb(181, 198, 227) | |
| CMYK | cmyk(20%, 13%, 0%, 11%) | — | |
| HSV | hsv(218, 20%, 89%) | — | |
| HWB | hwb(218 71% 11%) | color: hwb(218 71% 11%) | |
| OKLCH | oklch(0.823 0.0449 261.15) | color: oklch(0.823 0.0449 261.15) | |
| Lab | lab(79.48 0.3 -16.32) | color: lab(79.48 0.3 -16.32) | |
| LCH | lch(79.48 16.32 271.05) | color: lch(79.48 16.32 271.05) |
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)
#BCBDDC — rgb(188, 189, 220)
Deuteranopia (Green-blind)
#BBBADA — rgb(187, 186, 218)
Tritanopia (Blue-blind)
#B6D6D5 — rgb(182, 214, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 45%, 80%);
text
color: hsl(218, 45%, 80%);
border
border: 2px solid hsl(218, 45%, 80%);
gradient light
background: linear-gradient(to right, hsl(218, 45%, 100%), hsl(218, 45%, 80%));
gradient dark
background: linear-gradient(to right, hsl(218, 45%, 80%), hsl(218, 45%, 60%))
hex
background-color: #B5C6E3;
tailwind
bg-[hsl(218,45%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 45%, 80%, 0.4);
css variable
--color-primary: hsl(218, 45%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 45%, 80%)?
HEX: #B5C6E3 | RGB: rgb(181, 198, 227) | CMYK: 20%, 13%, 0%, 11% | HSV: 218°, 20%, 89%. Copy any format from the conversion table above.
What colors go well with #B5C6E3?
The complementary color is HSL(38, 45%, 80%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 45%, 80%) in CSS?
As HSL: color: hsl(218, 45%, 80%); — As HEX: color: #B5C6E3; — As RGB: color: rgb(181, 198, 227); — Tailwind CSS: bg-[hsl(218,45%,80%)] — CSS variable: --color-primary: hsl(218, 45%, 80%);