HSL(247, 57%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,57%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 57%, 68%) | color: hsl(247, 57%, 68%) | |
| HEX | #8A7FDC | color: #8A7FDC | |
| RGB | rgb(138, 127, 220) | color: rgb(138, 127, 220) | |
| CMYK | cmyk(37%, 42%, 0%, 14%) | — | |
| HSV | hsv(247, 42%, 86%) | — | |
| HWB | hwb(247 50% 14%) | color: hwb(247 50% 14%) | |
| OKLCH | oklch(0.6464 0.1363 287.37) | color: oklch(0.6464 0.1363 287.37) | |
| Lab | lab(57.8 26.03 -46.22) | color: lab(57.8 26.03 -46.22) | |
| LCH | lch(57.8 53.05 299.39) | color: lch(57.8 53.05 299.39) |
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)
#8585C5 — rgb(133, 133, 197)
Deuteranopia (Green-blind)
#8687C0 — rgb(134, 135, 192)
Tritanopia (Blue-blind)
#89B4B0 — rgb(137, 180, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 57%, 68%);
text
color: hsl(247, 57%, 68%);
border
border: 2px solid hsl(247, 57%, 68%);
gradient light
background: linear-gradient(to right, hsl(247, 57%, 88%), hsl(247, 57%, 68%));
gradient dark
background: linear-gradient(to right, hsl(247, 57%, 68%), hsl(247, 57%, 48%))
hex
background-color: #8A7FDC;
tailwind
bg-[hsl(247,57%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 57%, 68%, 0.4);
css variable
--color-primary: hsl(247, 57%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 57%, 68%)?
HEX: #8A7FDC | RGB: rgb(138, 127, 220) | CMYK: 37%, 42%, 0%, 14% | HSV: 247°, 42%, 86%. Copy any format from the conversion table above.
What colors go well with #8A7FDC?
The complementary color is HSL(67, 57%, 68%). 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, 57%, 68%) in CSS?
As HSL: color: hsl(247, 57%, 68%); — As HEX: color: #8A7FDC; — As RGB: color: rgb(138, 127, 220); — Tailwind CSS: bg-[hsl(247,57%,68%)] — CSS variable: --color-primary: hsl(247, 57%, 68%);