HSL(246, 88%, 66%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(246,88%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 88%, 66%) | color: hsl(246, 88%, 66%) | |
| HEX | #6B5CF5 | color: #6B5CF5 | |
| RGB | rgb(107, 92, 245) | color: rgb(107, 92, 245) | |
| CMYK | cmyk(56%, 62%, 0%, 4%) | — | |
| HSV | hsv(246, 62%, 96%) | — | |
| HWB | hwb(246 36% 4%) | color: hwb(246 36% 4%) | |
| OKLCH | oklch(0.5777 0.2198 281.44) | color: oklch(0.5777 0.2198 281.44) | |
| Lab | lab(48.72 47.11 -74.94) | color: lab(48.72 47.11 -74.94) | |
| LCH | lch(48.72 88.52 302.15) | color: lch(48.72 88.52 302.15) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#6564D0 — rgb(101, 100, 208)
Deuteranopia (Green-blind)
#6567C7 — rgb(101, 103, 199)
Tritanopia (Blue-blind)
#6AB3AC — rgb(106, 179, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 88%, 66%);
text
color: hsl(246, 88%, 66%);
border
border: 2px solid hsl(246, 88%, 66%);
gradient light
background: linear-gradient(to right, hsl(246, 88%, 86%), hsl(246, 88%, 66%));
gradient dark
background: linear-gradient(to right, hsl(246, 88%, 66%), hsl(246, 88%, 46%))
hex
background-color: #6B5CF5;
tailwind
bg-[hsl(246,88%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 88%, 66%, 0.4);
css variable
--color-primary: hsl(246, 88%, 66%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 88%, 66%)?
HEX: #6B5CF5 | RGB: rgb(107, 92, 245) | CMYK: 56%, 62%, 0%, 4% | HSV: 246°, 62%, 96%. Copy any format from the conversion table above.
What colors go well with #6B5CF5?
The complementary color is HSL(66, 88%, 66%). 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, 88%, 66%) in CSS?
As HSL: color: hsl(246, 88%, 66%); — As HEX: color: #6B5CF5; — As RGB: color: rgb(107, 92, 245); — Tailwind CSS: bg-[hsl(246,88%,66%)] — CSS variable: --color-primary: hsl(246, 88%, 66%);