HSL(221, 39%, 53%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,39%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 39%, 53%) | color: hsl(221, 39%, 53%) | |
| HEX | #5876B6 | color: #5876B6 | |
| RGB | rgb(88, 118, 182) | color: rgb(88, 118, 182) | |
| CMYK | cmyk(52%, 35%, 0%, 29%) | — | |
| HSV | hsv(221, 52%, 71%) | — | |
| HWB | hwb(221 34% 29%) | color: hwb(221 34% 29%) | |
| OKLCH | oklch(0.5713 0.1053 264.26) | color: oklch(0.5713 0.1053 264.26) | |
| Lab | lab(49.99 7.64 -37.17) | color: lab(49.99 7.64 -37.17) | |
| LCH | lch(49.99 37.95 281.61) | color: lch(49.99 37.95 281.61) |
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)
#6565A7 — rgb(101, 101, 167)
Deuteranopia (Green-blind)
#6361A3 — rgb(99, 97, 163)
Tritanopia (Blue-blind)
#5A9A98 — rgb(90, 154, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 39%, 53%);
text
color: hsl(221, 39%, 53%);
border
border: 2px solid hsl(221, 39%, 53%);
gradient light
background: linear-gradient(to right, hsl(221, 39%, 73%), hsl(221, 39%, 53%));
gradient dark
background: linear-gradient(to right, hsl(221, 39%, 53%), hsl(221, 39%, 33%))
hex
background-color: #5876B6;
tailwind
bg-[hsl(221,39%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 39%, 53%, 0.4);
css variable
--color-primary: hsl(221, 39%, 53%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 39%, 53%)?
HEX: #5876B6 | RGB: rgb(88, 118, 182) | CMYK: 52%, 35%, 0%, 29% | HSV: 221°, 52%, 71%. Copy any format from the conversion table above.
What colors go well with #5876B6?
The complementary color is HSL(41, 39%, 53%). 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, 39%, 53%) in CSS?
As HSL: color: hsl(221, 39%, 53%); — As HEX: color: #5876B6; — As RGB: color: rgb(88, 118, 182); — Tailwind CSS: bg-[hsl(221,39%,53%)] — CSS variable: --color-primary: hsl(221, 39%, 53%);