HSL(247, 75%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,75%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 75%, 68%) | color: hsl(247, 75%, 68%) | |
| HEX | #7E70EB | color: #7E70EB | |
| RGB | rgb(126, 112, 235) | color: rgb(126, 112, 235) | |
| CMYK | cmyk(46%, 52%, 0%, 8%) | — | |
| HSV | hsv(247, 52%, 92%) | — | |
| HWB | hwb(247 44% 8%) | color: hwb(247 44% 8%) | |
| OKLCH | oklch(0.6185 0.1789 285.07) | color: oklch(0.6185 0.1789 285.07) | |
| Lab | lab(54.05 36.17 -60.66) | color: lab(54.05 36.17 -60.66) | |
| LCH | lch(54.05 70.63 300.81) | color: lch(54.05 70.63 300.81) |
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)
#7878CD — rgb(120, 120, 205)
Deuteranopia (Green-blind)
#797AC6 — rgb(121, 122, 198)
Tritanopia (Blue-blind)
#7DB6B1 — rgb(125, 182, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 75%, 68%);
text
color: hsl(247, 75%, 68%);
border
border: 2px solid hsl(247, 75%, 68%);
gradient light
background: linear-gradient(to right, hsl(247, 75%, 88%), hsl(247, 75%, 68%));
gradient dark
background: linear-gradient(to right, hsl(247, 75%, 68%), hsl(247, 75%, 48%))
hex
background-color: #7E70EB;
tailwind
bg-[hsl(247,75%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 75%, 68%, 0.4);
css variable
--color-primary: hsl(247, 75%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 75%, 68%)?
HEX: #7E70EB | RGB: rgb(126, 112, 235) | CMYK: 46%, 52%, 0%, 8% | HSV: 247°, 52%, 92%. Copy any format from the conversion table above.
What colors go well with #7E70EB?
The complementary color is HSL(67, 75%, 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, 75%, 68%) in CSS?
As HSL: color: hsl(247, 75%, 68%); — As HEX: color: #7E70EB; — As RGB: color: rgb(126, 112, 235); — Tailwind CSS: bg-[hsl(247,75%,68%)] — CSS variable: --color-primary: hsl(247, 75%, 68%);