HSL(221, 17%, 64%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(221,17%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 17%, 64%) | color: hsl(221, 17%, 64%) | |
| HEX | #949DB3 | color: #949DB3 | |
| RGB | rgb(148, 157, 179) | color: rgb(148, 157, 179) | |
| CMYK | cmyk(17%, 12%, 0%, 30%) | — | |
| HSV | hsv(223, 17%, 70%) | — | |
| HWB | hwb(223 58% 30%) | color: hwb(223 58% 30%) | |
| OKLCH | oklch(0.6961 0.0339 267.84) | color: oklch(0.6961 0.0339 267.84) | |
| Lab | lab(64.69 1.47 -12.48) | color: lab(64.69 1.47 -12.48) | |
| LCH | lch(64.69 12.57 276.72) | color: lch(64.69 12.57 276.72) |
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)
#9898AE — rgb(152, 152, 174)
Deuteranopia (Green-blind)
#9797AC — rgb(151, 151, 172)
Tritanopia (Blue-blind)
#94A9A9 — rgb(148, 169, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 17%, 64%);
text
color: hsl(221, 17%, 64%);
border
border: 2px solid hsl(221, 17%, 64%);
gradient light
background: linear-gradient(to right, hsl(221, 17%, 84%), hsl(221, 17%, 64%));
gradient dark
background: linear-gradient(to right, hsl(221, 17%, 64%), hsl(221, 17%, 44%))
hex
background-color: #949DB3;
tailwind
bg-[hsl(221,17%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 17%, 64%, 0.4);
css variable
--color-primary: hsl(221, 17%, 64%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 17%, 64%)?
HEX: #949DB3 | RGB: rgb(148, 157, 179) | CMYK: 17%, 12%, 0%, 30% | HSV: 223°, 17%, 70%. Copy any format from the conversion table above.
What colors go well with #949DB3?
The complementary color is HSL(41, 17%, 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, 17%, 64%) in CSS?
As HSL: color: hsl(221, 17%, 64%); — As HEX: color: #949DB3; — As RGB: color: rgb(148, 157, 179); — Tailwind CSS: bg-[hsl(221,17%,64%)] — CSS variable: --color-primary: hsl(221, 17%, 64%);