HSL(221, 32%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,32%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 32%, 62%) | color: hsl(221, 32%, 62%) | |
| HEX | #7F93BD | color: #7F93BD | |
| RGB | rgb(127, 147, 189) | color: rgb(127, 147, 189) | |
| CMYK | cmyk(33%, 22%, 0%, 26%) | — | |
| HSV | hsv(221, 33%, 74%) | — | |
| HWB | hwb(221 50% 26%) | color: hwb(221 50% 26%) | |
| OKLCH | oklch(0.6632 0.0669 264.81) | color: oklch(0.6632 0.0669 264.81) | |
| Lab | lab(60.83 2.99 -24.12) | color: lab(60.83 2.99 -24.12) | |
| LCH | lch(60.83 24.3 277.07) | color: lch(60.83 24.3 277.07) |
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)
#8888B3 — rgb(136, 136, 179)
Deuteranopia (Green-blind)
#8785B0 — rgb(135, 133, 176)
Tritanopia (Blue-blind)
#80ABA9 — rgb(128, 171, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 32%, 62%);
text
color: hsl(221, 32%, 62%);
border
border: 2px solid hsl(221, 32%, 62%);
gradient light
background: linear-gradient(to right, hsl(221, 32%, 82%), hsl(221, 32%, 62%));
gradient dark
background: linear-gradient(to right, hsl(221, 32%, 62%), hsl(221, 32%, 42%))
hex
background-color: #7F93BD;
tailwind
bg-[hsl(221,32%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 32%, 62%, 0.4);
css variable
--color-primary: hsl(221, 32%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 32%, 62%)?
HEX: #7F93BD | RGB: rgb(127, 147, 189) | CMYK: 33%, 22%, 0%, 26% | HSV: 221°, 33%, 74%. Copy any format from the conversion table above.
What colors go well with #7F93BD?
The complementary color is HSL(41, 32%, 62%). 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, 32%, 62%) in CSS?
As HSL: color: hsl(221, 32%, 62%); — As HEX: color: #7F93BD; — As RGB: color: rgb(127, 147, 189); — Tailwind CSS: bg-[hsl(221,32%,62%)] — CSS variable: --color-primary: hsl(221, 32%, 62%);