HSL(221, 68%, 59%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,68%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 68%, 59%) | color: hsl(221, 68%, 59%) | |
| HEX | #4F7CDE | color: #4F7CDE | |
| RGB | rgb(79, 124, 222) | color: rgb(79, 124, 222) | |
| CMYK | cmyk(64%, 44%, 0%, 13%) | — | |
| HSV | hsv(221, 64%, 87%) | — | |
| HWB | hwb(221 31% 13%) | color: hwb(221 31% 13%) | |
| OKLCH | oklch(0.6029 0.1571 263.78) | color: oklch(0.6029 0.1571 263.78) | |
| Lab | lab(53.33 15.48 -54.68) | color: lab(53.33 15.48 -54.68) | |
| LCH | lch(53.33 56.83 285.81) | color: lch(53.33 56.83 285.81) |
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)
#6263C6 — rgb(98, 99, 198)
Deuteranopia (Green-blind)
#605DC1 — rgb(96, 93, 193)
Tritanopia (Blue-blind)
#51B4AF — rgb(81, 180, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 68%, 59%);
text
color: hsl(221, 68%, 59%);
border
border: 2px solid hsl(221, 68%, 59%);
gradient light
background: linear-gradient(to right, hsl(221, 68%, 79%), hsl(221, 68%, 59%));
gradient dark
background: linear-gradient(to right, hsl(221, 68%, 59%), hsl(221, 68%, 39%))
hex
background-color: #4F7CDE;
tailwind
bg-[hsl(221,68%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 68%, 59%, 0.4);
css variable
--color-primary: hsl(221, 68%, 59%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 68%, 59%)?
HEX: #4F7CDE | RGB: rgb(79, 124, 222) | CMYK: 64%, 44%, 0%, 13% | HSV: 221°, 64%, 87%. Copy any format from the conversion table above.
What colors go well with #4F7CDE?
The complementary color is HSL(41, 68%, 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, 68%, 59%) in CSS?
As HSL: color: hsl(221, 68%, 59%); — As HEX: color: #4F7CDE; — As RGB: color: rgb(79, 124, 222); — Tailwind CSS: bg-[hsl(221,68%,59%)] — CSS variable: --color-primary: hsl(221, 68%, 59%);