HSL(247, 19%, 66%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(247,19%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 19%, 66%) | color: hsl(247, 19%, 66%) | |
| HEX | #9C98B9 | color: #9C98B9 | |
| RGB | rgb(156, 152, 185) | color: rgb(156, 152, 185) | |
| CMYK | cmyk(16%, 18%, 0%, 27%) | — | |
| HSV | hsv(247, 18%, 73%) | — | |
| HWB | hwb(247 60% 27%) | color: hwb(247 60% 27%) | |
| OKLCH | oklch(0.6943 0.0481 290.65) | color: oklch(0.6943 0.0481 290.65) | |
| Lab | lab(64.18 8.25 -16.56) | color: lab(64.18 8.25 -16.56) | |
| LCH | lch(64.18 18.5 296.48) | color: lch(64.18 18.5 296.48) |
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)
#9A9AB1 — rgb(154, 154, 177)
Deuteranopia (Green-blind)
#9B9BAF — rgb(155, 155, 175)
Tritanopia (Blue-blind)
#9CABA9 — rgb(156, 171, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 19%, 66%);
text
color: hsl(247, 19%, 66%);
border
border: 2px solid hsl(247, 19%, 66%);
gradient light
background: linear-gradient(to right, hsl(247, 19%, 86%), hsl(247, 19%, 66%));
gradient dark
background: linear-gradient(to right, hsl(247, 19%, 66%), hsl(247, 19%, 46%))
hex
background-color: #9C98B9;
tailwind
bg-[hsl(247,19%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 19%, 66%, 0.4);
css variable
--color-primary: hsl(247, 19%, 66%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 19%, 66%)?
HEX: #9C98B9 | RGB: rgb(156, 152, 185) | CMYK: 16%, 18%, 0%, 27% | HSV: 247°, 18%, 73%. Copy any format from the conversion table above.
What colors go well with #9C98B9?
The complementary color is HSL(67, 19%, 66%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 19%, 66%) in CSS?
As HSL: color: hsl(247, 19%, 66%); — As HEX: color: #9C98B9; — As RGB: color: rgb(156, 152, 185); — Tailwind CSS: bg-[hsl(247,19%,66%)] — CSS variable: --color-primary: hsl(247, 19%, 66%);