HSL(221, 48%, 64%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,48%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 48%, 64%) | color: hsl(221, 48%, 64%) | |
| HEX | #7793CF | color: #7793CF | |
| RGB | rgb(119, 147, 207) | color: rgb(119, 147, 207) | |
| CMYK | cmyk(43%, 29%, 0%, 19%) | — | |
| HSV | hsv(221, 43%, 81%) | — | |
| HWB | hwb(221 46% 19%) | color: hwb(221 46% 19%) | |
| OKLCH | oklch(0.6659 0.0952 264.75) | color: oklch(0.6659 0.0952 264.75) | |
| Lab | lab(61.04 5.7 -33.95) | color: lab(61.04 5.7 -33.95) | |
| LCH | lch(61.04 34.43 279.53) | color: lch(61.04 34.43 279.53) |
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)
#8383C0 — rgb(131, 131, 192)
Deuteranopia (Green-blind)
#827FBD — rgb(130, 127, 189)
Tritanopia (Blue-blind)
#78B5B3 — rgb(120, 181, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 48%, 64%);
text
color: hsl(221, 48%, 64%);
border
border: 2px solid hsl(221, 48%, 64%);
gradient light
background: linear-gradient(to right, hsl(221, 48%, 84%), hsl(221, 48%, 64%));
gradient dark
background: linear-gradient(to right, hsl(221, 48%, 64%), hsl(221, 48%, 44%))
hex
background-color: #7793CF;
tailwind
bg-[hsl(221,48%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 48%, 64%, 0.4);
css variable
--color-primary: hsl(221, 48%, 64%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 48%, 64%)?
HEX: #7793CF | RGB: rgb(119, 147, 207) | CMYK: 43%, 29%, 0%, 19% | HSV: 221°, 43%, 81%. Copy any format from the conversion table above.
What colors go well with #7793CF?
The complementary color is HSL(41, 48%, 64%). 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, 48%, 64%) in CSS?
As HSL: color: hsl(221, 48%, 64%); — As HEX: color: #7793CF; — As RGB: color: rgb(119, 147, 207); — Tailwind CSS: bg-[hsl(221,48%,64%)] — CSS variable: --color-primary: hsl(221, 48%, 64%);