HSL(247, 42%, 64%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,42%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 42%, 64%) | color: hsl(247, 42%, 64%) | |
| HEX | #867DCA | color: #867DCA | |
| RGB | rgb(134, 125, 202) | color: rgb(134, 125, 202) | |
| CMYK | cmyk(34%, 38%, 0%, 21%) | — | |
| HSV | hsv(247, 38%, 79%) | — | |
| HWB | hwb(247 49% 21%) | color: hwb(247 49% 21%) | |
| OKLCH | oklch(0.6297 0.1142 288.01) | color: oklch(0.6297 0.1142 288.01) | |
| Lab | lab(56.09 21.27 -38.79) | color: lab(56.09 21.27 -38.79) | |
| LCH | lch(56.09 44.24 298.74) | color: lch(56.09 44.24 298.74) |
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)
#8282B7 — rgb(130, 130, 183)
Deuteranopia (Green-blind)
#8383B3 — rgb(131, 131, 179)
Tritanopia (Blue-blind)
#86A9A5 — rgb(134, 169, 165)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 42%, 64%);
text
color: hsl(247, 42%, 64%);
border
border: 2px solid hsl(247, 42%, 64%);
gradient light
background: linear-gradient(to right, hsl(247, 42%, 84%), hsl(247, 42%, 64%));
gradient dark
background: linear-gradient(to right, hsl(247, 42%, 64%), hsl(247, 42%, 44%))
hex
background-color: #867DCA;
tailwind
bg-[hsl(247,42%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 42%, 64%, 0.4);
css variable
--color-primary: hsl(247, 42%, 64%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 42%, 64%)?
HEX: #867DCA | RGB: rgb(134, 125, 202) | CMYK: 34%, 38%, 0%, 21% | HSV: 247°, 38%, 79%. Copy any format from the conversion table above.
What colors go well with #867DCA?
The complementary color is HSL(67, 42%, 64%). 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, 42%, 64%) in CSS?
As HSL: color: hsl(247, 42%, 64%); — As HEX: color: #867DCA; — As RGB: color: rgb(134, 125, 202); — Tailwind CSS: bg-[hsl(247,42%,64%)] — CSS variable: --color-primary: hsl(247, 42%, 64%);