HSL(245, 80%, 61%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,80%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 80%, 61%) | color: hsl(245, 80%, 61%) | |
| HEX | #594CEB | color: #594CEB | |
| RGB | rgb(89, 76, 235) | color: rgb(89, 76, 235) | |
| CMYK | cmyk(62%, 68%, 0%, 8%) | — | |
| HSV | hsv(245, 68%, 92%) | — | |
| HWB | hwb(245 29% 8%) | color: hwb(245 29% 8%) | |
| OKLCH | oklch(0.5317 0.2289 278.87) | color: oklch(0.5317 0.2289 278.87) | |
| Lab | lab(43.2 50.41 -78.41) | color: lab(43.2 50.41 -78.41) | |
| LCH | lch(43.2 93.22 302.74) | color: lch(43.2 93.22 302.74) |
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)
#5353C5 — rgb(83, 83, 197)
Deuteranopia (Green-blind)
#5455BB — rgb(84, 85, 187)
Tritanopia (Blue-blind)
#58A69F — rgb(88, 166, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 80%, 61%);
text
color: hsl(245, 80%, 61%);
border
border: 2px solid hsl(245, 80%, 61%);
gradient light
background: linear-gradient(to right, hsl(245, 80%, 81%), hsl(245, 80%, 61%));
gradient dark
background: linear-gradient(to right, hsl(245, 80%, 61%), hsl(245, 80%, 41%))
hex
background-color: #594CEB;
tailwind
bg-[hsl(245,80%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 80%, 61%, 0.4);
css variable
--color-primary: hsl(245, 80%, 61%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 80%, 61%)?
HEX: #594CEB | RGB: rgb(89, 76, 235) | CMYK: 62%, 68%, 0%, 8% | HSV: 245°, 68%, 92%. Copy any format from the conversion table above.
What colors go well with #594CEB?
The complementary color is HSL(65, 80%, 61%). 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%, 61%) in CSS?
As HSL: color: hsl(245, 80%, 61%); — As HEX: color: #594CEB; — As RGB: color: rgb(89, 76, 235); — Tailwind CSS: bg-[hsl(245,80%,61%)] — CSS variable: --color-primary: hsl(245, 80%, 61%);