HSL(246, 34%, 65%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(246,34%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 34%, 65%) | color: hsl(246, 34%, 65%) | |
| HEX | #8D87C4 | color: #8D87C4 | |
| RGB | rgb(141, 135, 196) | color: rgb(141, 135, 196) | |
| CMYK | cmyk(28%, 31%, 0%, 23%) | — | |
| HSV | hsv(246, 31%, 77%) | — | |
| HWB | hwb(246 53% 23%) | color: hwb(246 53% 23%) | |
| OKLCH | oklch(0.6522 0.0901 288.13) | color: oklch(0.6522 0.0901 288.13) | |
| Lab | lab(58.95 15.88 -30.88) | color: lab(58.95 15.88 -30.88) | |
| LCH | lch(58.95 34.72 297.21) | color: lch(58.95 34.72 297.21) |
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)
#8A8AB5 — rgb(138, 138, 181)
Deuteranopia (Green-blind)
#8B8BB2 — rgb(139, 139, 178)
Tritanopia (Blue-blind)
#8DAAA7 — rgb(141, 170, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 34%, 65%);
text
color: hsl(246, 34%, 65%);
border
border: 2px solid hsl(246, 34%, 65%);
gradient light
background: linear-gradient(to right, hsl(246, 34%, 85%), hsl(246, 34%, 65%));
gradient dark
background: linear-gradient(to right, hsl(246, 34%, 65%), hsl(246, 34%, 45%))
hex
background-color: #8D87C4;
tailwind
bg-[hsl(246,34%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 34%, 65%, 0.4);
css variable
--color-primary: hsl(246, 34%, 65%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 34%, 65%)?
HEX: #8D87C4 | RGB: rgb(141, 135, 196) | CMYK: 28%, 31%, 0%, 23% | HSV: 246°, 31%, 77%. Copy any format from the conversion table above.
What colors go well with #8D87C4?
The complementary color is HSL(66, 34%, 65%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(246, 34%, 65%) in CSS?
As HSL: color: hsl(246, 34%, 65%); — As HEX: color: #8D87C4; — As RGB: color: rgb(141, 135, 196); — Tailwind CSS: bg-[hsl(246,34%,65%)] — CSS variable: --color-primary: hsl(246, 34%, 65%);