HSL(248, 17%, 76%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(248,17%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 17%, 76%) | color: hsl(248, 17%, 76%) | |
| HEX | #BAB7CC | color: #BAB7CC | |
| RGB | rgb(186, 183, 204) | color: rgb(186, 183, 204) | |
| CMYK | cmyk(9%, 10%, 0%, 20%) | — | |
| HSV | hsv(249, 10%, 80%) | — | |
| HWB | hwb(249 72% 20%) | color: hwb(249 72% 20%) | |
| OKLCH | oklch(0.7885 0.0296 292.27) | color: oklch(0.7885 0.0296 292.27) | |
| Lab | lab(75.24 5.11 -10.2) | color: lab(75.24 5.11 -10.2) | |
| LCH | lch(75.24 11.41 296.61) | color: lch(75.24 11.41 296.61) |
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)
#B9B9C7 — rgb(185, 185, 199)
Deuteranopia (Green-blind)
#B9B9C6 — rgb(185, 185, 198)
Tritanopia (Blue-blind)
#BAC3C2 — rgb(186, 195, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 17%, 76%);
text
color: hsl(248, 17%, 76%);
border
border: 2px solid hsl(248, 17%, 76%);
gradient light
background: linear-gradient(to right, hsl(248, 17%, 96%), hsl(248, 17%, 76%));
gradient dark
background: linear-gradient(to right, hsl(248, 17%, 76%), hsl(248, 17%, 56%))
hex
background-color: #BAB7CC;
tailwind
bg-[hsl(248,17%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 17%, 76%, 0.4);
css variable
--color-primary: hsl(248, 17%, 76%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 17%, 76%)?
HEX: #BAB7CC | RGB: rgb(186, 183, 204) | CMYK: 9%, 10%, 0%, 20% | HSV: 249°, 10%, 80%. Copy any format from the conversion table above.
What colors go well with #BAB7CC?
The complementary color is HSL(68, 17%, 76%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(248, 17%, 76%) in CSS?
As HSL: color: hsl(248, 17%, 76%); — As HEX: color: #BAB7CC; — As RGB: color: rgb(186, 183, 204); — Tailwind CSS: bg-[hsl(248,17%,76%)] — CSS variable: --color-primary: hsl(248, 17%, 76%);