HSL(221, 40%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,40%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 40%, 70%) | color: hsl(221, 40%, 70%) | |
| HEX | #94A7D1 | color: #94A7D1 | |
| RGB | rgb(148, 167, 209) | color: rgb(148, 167, 209) | |
| CMYK | cmyk(29%, 20%, 0%, 18%) | — | |
| HSV | hsv(221, 29%, 82%) | — | |
| HWB | hwb(221 58% 18%) | color: hwb(221 58% 18%) | |
| OKLCH | oklch(0.7286 0.0649 265.79) | color: oklch(0.7286 0.0649 265.79) | |
| Lab | lab(68.41 2.99 -23.52) | color: lab(68.41 2.99 -23.52) | |
| LCH | lch(68.41 23.71 277.24) | color: lch(68.41 23.71 277.24) |
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)
#9C9CC7 — rgb(156, 156, 199)
Deuteranopia (Green-blind)
#9B9AC4 — rgb(155, 154, 196)
Tritanopia (Blue-blind)
#95BFBD — rgb(149, 191, 189)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 40%, 70%);
text
color: hsl(221, 40%, 70%);
border
border: 2px solid hsl(221, 40%, 70%);
gradient light
background: linear-gradient(to right, hsl(221, 40%, 90%), hsl(221, 40%, 70%));
gradient dark
background: linear-gradient(to right, hsl(221, 40%, 70%), hsl(221, 40%, 50%))
hex
background-color: #94A7D1;
tailwind
bg-[hsl(221,40%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 40%, 70%, 0.4);
css variable
--color-primary: hsl(221, 40%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 40%, 70%)?
HEX: #94A7D1 | RGB: rgb(148, 167, 209) | CMYK: 29%, 20%, 0%, 18% | HSV: 221°, 29%, 82%. Copy any format from the conversion table above.
What colors go well with #94A7D1?
The complementary color is HSL(41, 40%, 70%). 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, 40%, 70%) in CSS?
As HSL: color: hsl(221, 40%, 70%); — As HEX: color: #94A7D1; — As RGB: color: rgb(148, 167, 209); — Tailwind CSS: bg-[hsl(221,40%,70%)] — CSS variable: --color-primary: hsl(221, 40%, 70%);