HSL(247, 35%, 65%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,35%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 35%, 65%) | color: hsl(247, 35%, 65%) | |
| HEX | #8E87C5 | color: #8E87C5 | |
| RGB | rgb(142, 135, 197) | color: rgb(142, 135, 197) | |
| CMYK | cmyk(28%, 31%, 0%, 23%) | — | |
| HSV | hsv(247, 31%, 77%) | — | |
| HWB | hwb(247 53% 23%) | color: hwb(247 53% 23%) | |
| OKLCH | oklch(0.6535 0.0916 288.77) | color: oklch(0.6535 0.0916 288.77) | |
| Lab | lab(59.08 16.43 -31.25) | color: lab(59.08 16.43 -31.25) | |
| LCH | lch(59.08 35.31 297.73) | color: lch(59.08 35.31 297.73) |
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)
#8B8BB6 — rgb(139, 139, 182)
Deuteranopia (Green-blind)
#8B8CB2 — rgb(139, 140, 178)
Tritanopia (Blue-blind)
#8EAAA8 — rgb(142, 170, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 35%, 65%);
text
color: hsl(247, 35%, 65%);
border
border: 2px solid hsl(247, 35%, 65%);
gradient light
background: linear-gradient(to right, hsl(247, 35%, 85%), hsl(247, 35%, 65%));
gradient dark
background: linear-gradient(to right, hsl(247, 35%, 65%), hsl(247, 35%, 45%))
hex
background-color: #8E87C5;
tailwind
bg-[hsl(247,35%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 35%, 65%, 0.4);
css variable
--color-primary: hsl(247, 35%, 65%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 35%, 65%)?
HEX: #8E87C5 | RGB: rgb(142, 135, 197) | CMYK: 28%, 31%, 0%, 23% | HSV: 247°, 31%, 77%. Copy any format from the conversion table above.
What colors go well with #8E87C5?
The complementary color is HSL(67, 35%, 65%). 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, 35%, 65%) in CSS?
As HSL: color: hsl(247, 35%, 65%); — As HEX: color: #8E87C5; — As RGB: color: rgb(142, 135, 197); — Tailwind CSS: bg-[hsl(247,35%,65%)] — CSS variable: --color-primary: hsl(247, 35%, 65%);