HSL(246, 57%, 71%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(246,57%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 57%, 71%) | color: hsl(246, 57%, 71%) | |
| HEX | #938BDF | color: #938BDF | |
| RGB | rgb(147, 139, 223) | color: rgb(147, 139, 223) | |
| CMYK | cmyk(34%, 38%, 0%, 13%) | — | |
| HSV | hsv(246, 38%, 87%) | — | |
| HWB | hwb(246 54% 13%) | color: hwb(246 54% 13%) | |
| OKLCH | oklch(0.678 0.1223 287.02) | color: oklch(0.678 0.1223 287.02) | |
| Lab | lab(61.65 22.25 -41.78) | color: lab(61.65 22.25 -41.78) | |
| LCH | lch(61.65 47.34 298.04) | color: lch(61.65 47.34 298.04) |
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)
#908FCB — rgb(144, 143, 203)
Deuteranopia (Green-blind)
#9091C6 — rgb(144, 145, 198)
Tritanopia (Blue-blind)
#93BBB7 — rgb(147, 187, 183)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 57%, 71%);
text
color: hsl(246, 57%, 71%);
border
border: 2px solid hsl(246, 57%, 71%);
gradient light
background: linear-gradient(to right, hsl(246, 57%, 91%), hsl(246, 57%, 71%));
gradient dark
background: linear-gradient(to right, hsl(246, 57%, 71%), hsl(246, 57%, 51%))
hex
background-color: #938BDF;
tailwind
bg-[hsl(246,57%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 57%, 71%, 0.4);
css variable
--color-primary: hsl(246, 57%, 71%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 57%, 71%)?
HEX: #938BDF | RGB: rgb(147, 139, 223) | CMYK: 34%, 38%, 0%, 13% | HSV: 246°, 38%, 87%. Copy any format from the conversion table above.
What colors go well with #938BDF?
The complementary color is HSL(66, 57%, 71%). 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, 57%, 71%) in CSS?
As HSL: color: hsl(246, 57%, 71%); — As HEX: color: #938BDF; — As RGB: color: rgb(147, 139, 223); — Tailwind CSS: bg-[hsl(246,57%,71%)] — CSS variable: --color-primary: hsl(246, 57%, 71%);