HSL(221, 54%, 59%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,54%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 54%, 59%) | color: hsl(221, 54%, 59%) | |
| HEX | #5E82CF | color: #5E82CF | |
| RGB | rgb(94, 130, 207) | color: rgb(94, 130, 207) | |
| CMYK | cmyk(55%, 37%, 0%, 19%) | — | |
| HSV | hsv(221, 55%, 81%) | — | |
| HWB | hwb(221 36% 19%) | color: hwb(221 36% 19%) | |
| OKLCH | oklch(0.6145 0.1242 264.12) | color: oklch(0.6145 0.1242 264.12) | |
| Lab | lab(54.92 9.73 -43.66) | color: lab(54.92 9.73 -43.66) | |
| LCH | lch(54.92 44.73 282.56) | color: lch(54.92 44.73 282.56) |
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)
#6E6EBC — rgb(110, 110, 188)
Deuteranopia (Green-blind)
#6C69B8 — rgb(108, 105, 184)
Tritanopia (Blue-blind)
#60AEAA — rgb(96, 174, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 54%, 59%);
text
color: hsl(221, 54%, 59%);
border
border: 2px solid hsl(221, 54%, 59%);
gradient light
background: linear-gradient(to right, hsl(221, 54%, 79%), hsl(221, 54%, 59%));
gradient dark
background: linear-gradient(to right, hsl(221, 54%, 59%), hsl(221, 54%, 39%))
hex
background-color: #5E82CF;
tailwind
bg-[hsl(221,54%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 54%, 59%, 0.4);
css variable
--color-primary: hsl(221, 54%, 59%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 54%, 59%)?
HEX: #5E82CF | RGB: rgb(94, 130, 207) | CMYK: 55%, 37%, 0%, 19% | HSV: 221°, 55%, 81%. Copy any format from the conversion table above.
What colors go well with #5E82CF?
The complementary color is HSL(41, 54%, 59%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 54%, 59%) in CSS?
As HSL: color: hsl(221, 54%, 59%); — As HEX: color: #5E82CF; — As RGB: color: rgb(94, 130, 207); — Tailwind CSS: bg-[hsl(221,54%,59%)] — CSS variable: --color-primary: hsl(221, 54%, 59%);