HSL(221, 98%, 60%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,98%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 98%, 60%) | color: hsl(221, 98%, 60%) | |
| HEX | #3574FD | color: #3574FD | |
| RGB | rgb(53, 116, 253) | color: rgb(53, 116, 253) | |
| CMYK | cmyk(79%, 54%, 0%, 1%) | — | |
| HSV | hsv(221, 79%, 99%) | — | |
| HWB | hwb(221 21% 1%) | color: hwb(221 21% 1%) | |
| OKLCH | oklch(0.598 0.2147 262.97) | color: oklch(0.598 0.2147 262.97) | |
| Lab | lab(52.22 28.18 -73.83) | color: lab(52.22 28.18 -73.83) | |
| LCH | lch(52.22 79.03 290.89) | color: lch(52.22 79.03 290.89) |
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)
#5051DC — rgb(80, 81, 220)
Deuteranopia (Green-blind)
#4D48D4 — rgb(77, 72, 212)
Tritanopia (Blue-blind)
#38C2BC — rgb(56, 194, 188)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 98%, 60%);
text
color: hsl(221, 98%, 60%);
border
border: 2px solid hsl(221, 98%, 60%);
gradient light
background: linear-gradient(to right, hsl(221, 98%, 80%), hsl(221, 98%, 60%));
gradient dark
background: linear-gradient(to right, hsl(221, 98%, 60%), hsl(221, 98%, 40%))
hex
background-color: #3574FD;
tailwind
bg-[hsl(221,98%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 98%, 60%, 0.4);
css variable
--color-primary: hsl(221, 98%, 60%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 98%, 60%)?
HEX: #3574FD | RGB: rgb(53, 116, 253) | CMYK: 79%, 54%, 0%, 1% | HSV: 221°, 79%, 99%. Copy any format from the conversion table above.
What colors go well with #3574FD?
The complementary color is HSL(41, 98%, 60%). 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, 98%, 60%) in CSS?
As HSL: color: hsl(221, 98%, 60%); — As HEX: color: #3574FD; — As RGB: color: rgb(53, 116, 253); — Tailwind CSS: bg-[hsl(221,98%,60%)] — CSS variable: --color-primary: hsl(221, 98%, 60%);