HSL(245, 80%, 63%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,80%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 80%, 63%) | color: hsl(245, 80%, 63%) | |
| HEX | #6255EC | color: #6255EC | |
| RGB | rgb(98, 85, 236) | color: rgb(98, 85, 236) | |
| CMYK | cmyk(58%, 64%, 0%, 7%) | — | |
| HSV | hsv(245, 64%, 93%) | — | |
| HWB | hwb(245 33% 7%) | color: hwb(245 33% 7%) | |
| OKLCH | oklch(0.5527 0.2183 280.37) | color: oklch(0.5527 0.2183 280.37) | |
| Lab | lab(45.84 46.93 -74.63) | color: lab(45.84 46.93 -74.63) | |
| LCH | lch(45.84 88.16 302.16) | color: lch(45.84 88.16 302.16) |
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)
#5C5CC7 — rgb(92, 92, 199)
Deuteranopia (Green-blind)
#5D5EBF — rgb(93, 94, 191)
Tritanopia (Blue-blind)
#61ABA4 — rgb(97, 171, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 80%, 63%);
text
color: hsl(245, 80%, 63%);
border
border: 2px solid hsl(245, 80%, 63%);
gradient light
background: linear-gradient(to right, hsl(245, 80%, 83%), hsl(245, 80%, 63%));
gradient dark
background: linear-gradient(to right, hsl(245, 80%, 63%), hsl(245, 80%, 43%))
hex
background-color: #6255EC;
tailwind
bg-[hsl(245,80%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 80%, 63%, 0.4);
css variable
--color-primary: hsl(245, 80%, 63%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 80%, 63%)?
HEX: #6255EC | RGB: rgb(98, 85, 236) | CMYK: 58%, 64%, 0%, 7% | HSV: 245°, 64%, 93%. Copy any format from the conversion table above.
What colors go well with #6255EC?
The complementary color is HSL(65, 80%, 63%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(245, 80%, 63%) in CSS?
As HSL: color: hsl(245, 80%, 63%); — As HEX: color: #6255EC; — As RGB: color: rgb(98, 85, 236); — Tailwind CSS: bg-[hsl(245,80%,63%)] — CSS variable: --color-primary: hsl(245, 80%, 63%);