HSL(223, 51%, 82%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(223,51%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(223, 51%, 82%) | color: hsl(223, 51%, 82%) | |
| HEX | #BAC7E9 | color: #BAC7E9 | |
| RGB | rgb(186, 199, 233) | color: rgb(186, 199, 233) | |
| CMYK | cmyk(20%, 15%, 0%, 9%) | — | |
| HSV | hsv(223, 20%, 91%) | — | |
| HWB | hwb(223 73% 9%) | color: hwb(223 73% 9%) | |
| OKLCH | oklch(0.8308 0.0499 268.78) | color: oklch(0.8308 0.0499 268.78) | |
| Lab | lab(80.27 2.63 -18.3) | color: lab(80.27 2.63 -18.3) | |
| LCH | lch(80.27 18.49 278.18) | color: lch(80.27 18.49 278.18) |
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)
#C0C0E1 — rgb(192, 192, 225)
Deuteranopia (Green-blind)
#BFBEDF — rgb(191, 190, 223)
Tritanopia (Blue-blind)
#BBDAD9 — rgb(187, 218, 217)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(223, 51%, 82%);
text
color: hsl(223, 51%, 82%);
border
border: 2px solid hsl(223, 51%, 82%);
gradient light
background: linear-gradient(to right, hsl(223, 51%, 100%), hsl(223, 51%, 82%));
gradient dark
background: linear-gradient(to right, hsl(223, 51%, 82%), hsl(223, 51%, 62%))
hex
background-color: #BAC7E9;
tailwind
bg-[hsl(223,51%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(223, 51%, 82%, 0.4);
css variable
--color-primary: hsl(223, 51%, 82%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(223, 51%, 82%)?
HEX: #BAC7E9 | RGB: rgb(186, 199, 233) | CMYK: 20%, 15%, 0%, 9% | HSV: 223°, 20%, 91%. Copy any format from the conversion table above.
What colors go well with #BAC7E9?
The complementary color is HSL(43, 51%, 82%). For a triadic harmony, use hues 223°, 343°, and 103°. For analogous combinations, try hues 193° and 253°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(223, 51%, 82%) in CSS?
As HSL: color: hsl(223, 51%, 82%); — As HEX: color: #BAC7E9; — As RGB: color: rgb(186, 199, 233); — Tailwind CSS: bg-[hsl(223,51%,82%)] — CSS variable: --color-primary: hsl(223, 51%, 82%);